1
0
Fork 0
mirror of synced 2026-06-05 17:45:14 +00:00
login/node_modules/char-regex/README.md
2023-11-20 14:12:35 +08:00

713 B

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()