iching-broker-level2/node_modules/char-regex
2025-03-31 14:27:20 +02:00
..
index.d.ts unit tests part 3 2025-03-31 14:27:20 +02:00
index.js unit tests part 3 2025-03-31 14:27:20 +02:00
LICENSE unit tests part 3 2025-03-31 14:27:20 +02:00
package.json unit tests part 3 2025-03-31 14:27:20 +02:00
README.md unit tests part 3 2025-03-31 14:27:20 +02:00

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