![]() |
||
---|---|---|
.. | ||
.github | ||
.editorconfig | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
index.d.ts | ||
index.js | ||
package.json | ||
test.js | ||
yarn.lock |
README.md
Char Regex 
A regex to match any full character, considering weird character ranges. Tested on every single emoji and unicode character. Based on the Lodash implementation.
Install
npm install char-regex
Usage
const charRegex = require("char-regex");
"❤️👊🏽".match(/./);
//=> ["", "", "", "", "", "", ""]
"❤️👊🏽".match(charRegex());
//=> ["❤️", "👊🏽"]