-
Notifications
You must be signed in to change notification settings - Fork 58
Catch unsupported operation errors #16
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
base: master
Are you sure you want to change the base?
Conversation
1e3650f
to
e7a123f
Compare
try: | ||
parsed = SreOpParser().parse_sre( | ||
hooked_regex.pattern, hooked_regex.flags | ||
) | ||
except Exception as e: | ||
print(f"Error parsing regex {hooked_regex.pattern} from {p}: {e}") | ||
continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same patch is also required for the yaml executable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened stsewd#1 to your repository, so it can end up in the same pull request here
@b-c-ds could you please look at this / merge it and make a new release? The patch is required to prevent the error |
see doyensec/regexploit#16 for an error description
see doyensec/regexploit#16 for an error description
from_POSSESSIVE_REPEAT
isn't supported yet, not sure how to implement it, but at least this doesn't interrupt the program.