Repository URL to install this package:
|
Version:
0.6.0 ▾
|
| .. |
| LICENSE |
| README.md |
| index.d.ts |
| index.js |
| package.json |
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()); //=> ["❤️", "👊🏽"]