reregexp
reregexp copied to clipboard
Add feature flags
Add feature flags to adapt to the ability of the regular expressions.
When the feature flag unicode is set true, it can use a flag u.
When the feature flag namedCapture is set true, it can use a (?<named>) named capture and \k<named>.
When the feature flag upc is set true, it can use a \p to match an unicode property class.