GitXplorerGitXplorer
R

char-regex

public
27 stars
4 forks
0 issues

Commits

List of commits on branch main.
Unverified
b2a1dc9967b556f9a576ce0f7ded2a457ba4aefa

2.0.2

RRichienb committed 2 months ago
Unverified
45c353b554316ac73ebd42ea29ba1fb607681ce7

Fix test

RRichienb committed 2 months ago
Verified
e25c2cbc557cb77d884bf5d464c14c86805deefa

Update license

RRichienb committed 2 months ago
Verified
da9d2ff819e30fcd57696cddc8e218c74311970c

Fix Telugu regex (#3)

ootacke committed 2 months ago
Verified
1372f913b384b63533bc762564481295c604528e

v2.0.1

RRichienb committed 3 years ago
Verified
d4807bfa766cc95fb9c12bc7fa3878a1b0d23c6f

Include code points in test cases

RRichienb committed 3 years ago

README

The README file for this repository.

char-regex

A regex to match any full character, considering weird character ranges. Tested on every single emoji and unicode character. Based on the Lodash implementation.

Install

npm install char-regex

Usage

import charRegex from 'char-regex';

'❤️👊🏽'.match(/./);
//=> ['', '', '', '', '', '', '']

'❤️👊🏽'.match(charRegex());
//=> ['❤️', '👊🏽']

Related