![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | package.json | 9 months ago | 937 | |
![]() | index.js | 9 months ago | 1.9K | |
![]() | index.d.ts | 9 months ago | 297 | |
![]() | README.md | 9 months ago | 713 | |
![]() | LICENSE | 9 months ago | 1.1K |
A regex to match any full character, considering weird character ranges. Tested on every single emoji and unicode character. Based on the Lodash implementation.
npm install char-regex
const charRegex = require("char-regex");
"❤️👊🏽".match(/./);
//=> ["", "", "", "", "", "", ""]
"❤️👊🏽".match(charRegex());
//=> ["❤️", "👊🏽"]