1
0
Fork 0
mirror of synced 2026-06-05 16:05:14 +00:00
login/node_modules/char-regex
2023-11-20 14:12:35 +08:00
..
index.d.ts prepare release 1.5.0 2023-11-20 14:12:35 +08:00
index.js prepare release 1.5.0 2023-11-20 14:12:35 +08:00
LICENSE prepare release 1.5.0 2023-11-20 14:12:35 +08:00
package.json prepare release 1.5.0 2023-11-20 14:12:35 +08:00
README.md prepare release 1.5.0 2023-11-20 14:12:35 +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()