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

determine if pattern is starts-with or contains #1070

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

brharrington
Copy link
Contributor

Adds support to PatternMatcher to check if a pattern is a strict starts-with or contains check. This can be useful when mapping to some data stores that have optimizations for those operations that will not work with arbitrary regex. Also adds a method to get a contained string that can be used as an initial filter.

Adds support to PatternMatcher to check if a pattern is
a strict starts-with or contains check. This can be useful
when mapping to some data stores that have optimizations
for those operations that will not work with arbitrary
regex. Also adds a method to get a contained string that
can be used as an initial filter.
@brharrington brharrington added this to the 1.6.8 milestone Aug 8, 2023
@brharrington brharrington merged commit 334a51a into Netflix:main Aug 8, 2023
1 check passed
@brharrington brharrington deleted the contains branch August 8, 2023 17:35
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.

None yet

1 participant