zlwu dd667101ef first commit hace 1 año
..
LICENSE dd667101ef first commit hace 1 año
README.md dd667101ef first commit hace 1 año
index.d.ts dd667101ef first commit hace 1 año
index.js dd667101ef first commit hace 1 año
package.json dd667101ef first commit hace 1 año

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