-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite match loop #34
Comments
This one is a head-scratcher. I've confirmed it happens in the .NET regex engine that During the second match it seems like the regex stack is getting out of sync, so when the So, more digging is needed to figure out the best way to resolve the issue. Can I'll need to do more research and digging, but wanted to capture my research and thoughts so far. |
Maybe report this to Microsoft and let them fix it 😄 |
Worth a shot dotnet/runtime#43314 |
The following test results in an infinite loop.
$ go test -v -run TestOverlappingMatch
=== RUN TestOverlappingMatch
TestOverlappingMatch: regexp_test.go:802: start: 0, length: 2
TestOverlappingMatch: regexp_test.go:802: start: 1, length: 1
TestOverlappingMatch: regexp_test.go:802: start: 1, length: 1
TestOverlappingMatch: regexp_test.go:802: start: 1, length: 1
....
The text was updated successfully, but these errors were encountered: