/ c4f / front / node_modules / char-regex /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]package.json9 months ago937  
[   ]index.js9 months ago1.9K 
[TXT]index.d.ts9 months ago297  
[TXT]README.md9 months ago713  
[   ]LICENSE9 months ago1.1K 
README.md

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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80