setup-kubectl/node_modules/char-regex
github-actions[bot] 7f7e5ba5ea
Add node modules and compiled JavaScript from main (#57)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-06-21 12:18:30 -04:00
..
index.d.ts Add node modules and compiled JavaScript from main (#57) 2022-06-21 12:18:30 -04:00
index.js Add node modules and compiled JavaScript from main (#57) 2022-06-21 12:18:30 -04:00
LICENSE Add node modules and compiled JavaScript from main (#57) 2022-06-21 12:18:30 -04:00
package.json Add node modules and compiled JavaScript from main (#57) 2022-06-21 12:18:30 -04:00
README.md Add node modules and compiled JavaScript from main (#57) 2022-06-21 12:18:30 -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()