Irina Glushko 2389e7160b HW1 done | hace 3 años | |
---|---|---|
.. | ||
LICENSE | hace 3 años | |
README.md | hace 3 años | |
index.d.ts | hace 3 años | |
index.js | hace 3 años | |
package.json | hace 3 años |
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());
//=> ["❤️", "👊🏽"]