Closed joachimschmidt557 closed 4 years ago
It appears to be because it invokes VmBacktrack
instead of VmPike
— I think it's not backtracking correctly. If I force it to use VmPike
it matches correctly.
Concretely, here's how to get this returning true
: https://github.com/kivikakk/zig-regex/commit/c81b4e548d0b24ca39783ba6e4c9f3554518361c
This is fixed by #9.
Example to reproduce:
Output:
I'll try to look into what is causing this issue.