odin-js-fundamentals-part-5/node_modules/char-regex
NetMan 4c89a8ee8c Initial commit 2024-01-11 09:52:05 +01:00
..
LICENSE Initial commit 2024-01-11 09:52:05 +01:00
README.md Initial commit 2024-01-11 09:52:05 +01:00
index.d.ts Initial commit 2024-01-11 09:52:05 +01:00
index.js Initial commit 2024-01-11 09:52:05 +01:00
package.json Initial commit 2024-01-11 09:52:05 +01:00

README.md

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