urltomarkdown/node_modules/char-regex
Lee Hanken ca3866eae3 added unit tests 2022-12-23 12:03:25 +00:00
..
LICENSE added unit tests 2022-12-23 12:03:25 +00:00
README.md added unit tests 2022-12-23 12:03:25 +00:00
index.d.ts added unit tests 2022-12-23 12:03:25 +00:00
index.js added unit tests 2022-12-23 12:03:25 +00:00
package.json added unit tests 2022-12-23 12:03:25 +00:00

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