David Gamero 9860cfe0c2
release v1.5 (#162)
Co-authored-by: David Gamero <davidgamero@microsoft.com>
2021-12-09 16:44:30 -05: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()