-
Notifications
You must be signed in to change notification settings - Fork 53
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
Why not detect (a+)+ #7
Comments
Same doubt. |
As intended. There is no payload which will cause backtracking with this regex unless you are using it with a function like python's /(a+)+/.test('ay') // js matches, no ReDoS possible re.compile(r"(a+)+").match("ay") # python matches, no ReDoS possible It does find ReDoS when it is possible to cause backtracking:
|
A follow up to this question: how come it doesn't seem to find ReDoS for patterns like |
Why not detect (a+)+
The text was updated successfully, but these errors were encountered: