|
|
пре 3 месеци | |
|---|---|---|
| .. | ||
| LICENSE | пре 3 месеци | |
| README.md | пре 3 месеци | |
| index.d.ts | пре 3 месеци | |
| index.js | пре 3 месеци | |
| package.json | пре 3 месеци | |
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());
//=> ["❤️", "👊🏽"]