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