dld_backend/node_modules/char-regex
2025-10-30 12:13:02 +05:30
..
index.d.ts v0.0.1 2025-10-30 12:13:02 +05:30
index.js v0.0.1 2025-10-30 12:13:02 +05:30
LICENSE v0.0.1 2025-10-30 12:13:02 +05:30
package.json v0.0.1 2025-10-30 12:13:02 +05:30
README.md v0.0.1 2025-10-30 12:13:02 +05:30

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