-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allow dots in keywords when searching on exact words #203
Conversation
🦋 Changeset detectedLatest commit: 81f3102 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
LGTM! Pending one more ✅ from another reviewer.
I dropped feedback for one minor typo adjustment
Co-authored-by: Conrad Davis Jr <[email protected]> Signed-off-by: Alejandro Hernandez <[email protected]>
// words instead of their variations. | ||
wordsMatchPattern = node.exact | ||
? alphaNumericRegExWithDots | ||
: alphaNumericRegEx, |
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.
Why would we not always use alphaNumericRegExWithDots
? Also, why are the regexs so strange looking?
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 thought that's we had agreed on, that if you didn't search for exact you'd get the current behavior?
I think they are strange looking because they were copied from lodash. See this comment
…ure/contexture into feature/allow-dots-in-keywords
Coverage after merging feature/allow-dots-in-keywords into main will be
Coverage Report
|
Allow dots in keywords tags when matching on exact words
Screen.Recording.2024-03-15.at.1.52.40.PM.mov