andgineer / TRegExpr

Regular expressions (regex), pascal.
https://regex.sorokin.engineer/en/latest/
MIT License
174 stars 63 forks source link

Fix opstar groupref #370

Closed User4martin closed 10 months ago

User4martin commented 10 months ago

Fix issue #368


The match of a lookbehind must end at the position where the scan was when the lookbehind started. If FindRepeated finds more than that many elements, then the code in OP_STAR just has to do extra backtracking.