Skip to content
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

94 - Ensure bogus regexps are caught #95

Merged
merged 3 commits into from
Nov 17, 2023
Merged

94 - Ensure bogus regexps are caught #95

merged 3 commits into from
Nov 17, 2023

Conversation

skx
Copy link
Owner

@skx skx commented Nov 17, 2023

We previously handled malformed regular expressions when using them as literals, but it was noted by @DeadlySurgeon that the match function had no such handling.

This pull-request will close #94 by ensuring that bogus regular expressions are caught even in the match function.

@skx skx merged commit 92c63a1 into master Nov 17, 2023
1 check passed
@skx skx deleted the 94-regexp branch November 17, 2023 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regex Built In should avoid MustCompile to avoid potential panic
1 participant