Closed User4martin closed 1 year ago
No idea how to fix, yet.
I will look later / lets concentrate on the big PR first.
This issue can be on hold / it will be closed as side product of implementing better support for all lookaround patterns (in progress)
@User4martin Is it solved? Then please close.
The following test should work.
It does work, when called without offset.
But, with offset, it can still look back to before the offset, and therefore should find this.
The following modified version demonstrates the expectation: https://regex101.com/r/51WHvZ/1
The leading
_|
matches one char, the pattern is global, so it is matched a 2nd time at start-offset = 2. And the result for the 2nd match is success.