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

Add EventMatcher::with_message_regex #42

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

rukai
Copy link
Member

@rukai rukai commented Oct 9, 2024

While working on shotover/shotover-proxy#1762 we found need for more powerful string matching.
I think its important for the default matcher to not use regex, we dont want punctuation to be misinterpreted as regex special characters.
But allowing the user to opt into regex via a method with regex in the name seems appropriate and powerful.

@rukai rukai merged commit eaafb1f into shotover:main Oct 9, 2024
3 checks passed
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.

3 participants