v6.0.0
This version's breaking changes don't affect direct use of the library. They alters APIs used by tools that build on top of Regex+.
🚨 Breaking
rewrite
: Renamed the returnedexpression
property aspattern
.- Plugins: Returned values now expected to be an object with string property
pattern
. - Plugins: Hidden capture indices now explicitly provided/returned, rather than embedded via markers in the pattern.
./internals
: RemovedRegExpSubclass
's undocumented and experimental support for capture transfer../internals
: RemovedemulationGroupMarker
since pattern markers are no longer used for hidden captures.
🚀 Features
- Improved performance of the
subclass
option, especially with long patterns that contain extended syntax.