The changelog of the reregexp library.
- Add ESM module export support.
- Add
charactersOfAnyconfig, you can either set a global config with the static propertyReRegExp.charactersOfAnyor with aParserConffor an instancenew ReRegExp(context, { charactersOfAny }), it let you can define which characters can be generated by a.character class.
- Support unicode property class syntax, e.g.
\p{Letter}, more details have shown in README.
- Add
captureconfig field, if you care about the result of the regexp group data. Also add tests for this feature.
- Optimize some regexp rules of the parser.
- Change the default export library name from 'RegexpParser' to
ReRegExpin browser. - Make the readme more clearly.
- Upgrade the typescript and other tools dependencies versions.