app php01 790c53caa0 最后一版uniaiim 10 months ago
..
LICENSE 790c53caa0 最后一版uniaiim 10 months ago
README.md 790c53caa0 最后一版uniaiim 10 months ago
index.d.ts 790c53caa0 最后一版uniaiim 10 months ago
index.js 790c53caa0 最后一版uniaiim 10 months ago
package.json 790c53caa0 最后一版uniaiim 10 months ago

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