You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When option allowUnhandledGAnchors is enabled, an unsupported use of \G no longer adds flag y (provides better tradeoffs).
🚀 Features
Added option rules.captureGroup (equivalent to Oniguruma compile-time option ONIG_OPTION_CAPTURE_GROUP) to toDetails, toRegExp, and toOnigurumaAst. Allows unnamed captures and numbered backreferences/subroutines when using named capture (with complex resulting rules in edge cases).
🐞 Fixes
Prevent ^ from matching after a string-terminating line feed. (#9)
When option avoidSubclass is not enabled, use emulation groups (which prevent captured values from appearing on match results) for copies of capturing groups created by recursion.