2024-10-15 23:05:53 +03:00
..
2024-10-15 23:05:53 +03:00
2024-10-15 23:05:53 +03:00
2024-10-15 23:05:53 +03:00
2024-10-15 23:05:53 +03:00
2024-10-15 23:05:53 +03: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()