nest-app-ota/node_modules/.pnpm/char-regex@1.0.2/node_modules/char-regex
2025-11-11 16:34:27 +08:00
..
index.d.ts first commit 2025-11-11 16:34:27 +08:00
index.js first commit 2025-11-11 16:34:27 +08:00
LICENSE first commit 2025-11-11 16:34:27 +08:00
package.json first commit 2025-11-11 16:34:27 +08:00
README.md first commit 2025-11-11 16:34:27 +08: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()