unicode-regex
Advanced tools
Changelog
2.0.0 (2018-02-09)
More categories, processable output, and adding codepoints that's greater than 0xffff
.
// before
unicode_regex(['Pc', 'Pd', 'Pe', 'Pf', 'Pi', 'Po', 'Ps'])
// after
unicode({ General_Category: ['Punctuation'] }).toRegExp()
<a name="1.0.1"></a>