char-regex (1.0.2)
Published 2026-02-24 13:53:55 +00:00 by atheaadmin
Installation
registry=npm install char-regex@1.0.2"char-regex": "1.0.2"About this package
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());
//=> ["❤️", "👊🏽"]
API
charRegex()
Dependencies
Development Dependencies
| ID | Version |
|---|---|
| @babel/core | ^7.8.4 |
| @babel/plugin-proposal-unicode-property-regex | ^7.8.3 |
| array-uniq | ^2.1.0 |
| ava | ^3.0.0 |
| emoji.json | ^12.1.1 |
| eslint-config-richienb | ^0.3.0 |
| unicode-chars | ^1.0.1 |
| xo | ^0.25.3 |
Keywords
character
regex
match
split
length
Details
Assets (1)
Versions (2)
View all
char-regex-1.0.2.tgz
2.4 KiB
