mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-12-24 23:59:00 +00:00
.. | ||
index.d.ts | ||
index.js | ||
LICENSE | ||
package.json | ||
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());
//=> ["❤️", "👊🏽"]