1
0
Fork 0
mirror of synced 2026-06-05 18:58:19 +00:00
login/node_modules/char-regex
2024-01-09 11:08:09 +08:00
..
index.d.ts prepare release v1.6.0 2024-01-09 11:08:09 +08:00
index.js prepare release v1.6.0 2024-01-09 11:08:09 +08:00
LICENSE prepare release v1.6.0 2024-01-09 11:08:09 +08:00
package.json prepare release v1.6.0 2024-01-09 11:08:09 +08:00
README.md prepare release v1.6.0 2024-01-09 11:08:09 +08:00

Char Regex Travis CI Build Status

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 Badge

Install

npm install char-regex

Usage

const charRegex = require("char-regex");

"❤️👊🏽".match(/./);
//=> ["", "", "", "", "", "", ""]

"❤️👊🏽".match(charRegex());
//=> ["❤️", "👊🏽"]

API

charRegex()