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

Honor regex flags for case-sensitivity #767

Merged
merged 4 commits into from
Apr 29, 2024

Conversation

mmanela
Copy link
Contributor

@mmanela mmanela commented Apr 24, 2024

When investigating the issue in lang matching I debugged and saw it was failing here since the regex had case-insensitivity set but was not honored in this code. Create a PR just to discuss. Would need confirmation and unit tests before ever moving forward

@cla-bot cla-bot bot added the cla-signed label Apr 24, 2024
eval.go Show resolved Hide resolved
@mmanela mmanela changed the title POC: Honor regex flags for case-sensitivity Honor regex flags for case-sensitivity Apr 25, 2024
@mmanela mmanela marked this pull request as ready for review April 25, 2024 17:03
@mmanela mmanela closed this Apr 25, 2024
@mmanela mmanela reopened this Apr 26, 2024
@mmanela mmanela requested a review from keegancsmith April 26, 2024 16:10
Copy link
Member

@keegancsmith keegancsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving to unblock. Change looks good to me, just minor feedback in the test case.

.vscode/launch.json Show resolved Hide resolved
eval_test.go Outdated Show resolved Hide resolved
@mmanela mmanela merged commit 570757e into main Apr 29, 2024
9 checks passed
@mmanela mmanela deleted the honorFlagsInRegexpToMatchTreeRecursive branch April 29, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants