chc-posix
Character Classes according to POSIX
Depends on chc and offers predefined charsets according POSIX.
Table of contents
Links
Get Started
const chc = ; const cs = chc;// RETURN new CharSet() containing A-Z csnext;// RETURN 'A'
See chc for details about class CharSet
.
API
- chc.CharSet chc.posix(string name)
Create anCharSet
instance containing specified characters. Argument name may be:- lower
- upper
- number
- alpha
- alnum
- xdigit