Package Exports
- chc-posix
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chc-posix) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
chc-posix
Character Classes according to POSIX
Depends on chc and offers predefined charsets according POSIX.
Table of contents
Links
Get Started
const chc = require('chc-posix');
const cs = chc.posix('upper');
// RETURN new CharSet() containing A-Z
cs.next();
// RETURN 'A'See chc for details about class CharSet.
API
- chc.CharSet chc.posix(string name)
Create anCharSetinstance containing specified characters. Argument name may be:- lower
- upper
- number
- alpha
- alnum
- xdigit