Closed User4martin closed 10 months ago
Fixes and improvements for look-around
(?=.(capt).)?.*\1 optional look-around was handled incorrectly if it contained code that was later referred.
(?=.(capt).)?.*\1
(?=...)?+ possessive modifiers on look-around were not handled at all.
(?=...)?+
Also ng ?? and loops if they affected captures.
??
Last commit is a tiny optimization for speed. (under fpc / but shouldn't hurt any other compiler)
Fixes and improvements for look-around
(?=.(capt).)?.*\1
optional look-around was handled incorrectly if it contained code that was later referred.(?=...)?+
possessive modifiers on look-around were not handled at all.Also ng
??
and loops if they affected captures.Last commit is a tiny optimization for speed. (under fpc / but shouldn't hurt any other compiler)