4
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2025-11-07 04:56:56 +00:00
setup-helm/node_modules/char-regex
2022-06-27 14:17:15 -04:00
..
index.d.ts v3 new release (#80) 2022-06-27 14:17:15 -04:00
index.js v3 new release (#80) 2022-06-27 14:17:15 -04:00
LICENSE v3 new release (#80) 2022-06-27 14:17:15 -04:00
package.json v3 new release (#80) 2022-06-27 14:17:15 -04:00
README.md v3 new release (#80) 2022-06-27 14:17:15 -04: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()