-
Notifications
You must be signed in to change notification settings - Fork 25.5k
[DOCS] Clarify regex character range case insensitivity limitations #125412
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Flagged by @dadoonet in Slack: > Hey team. There's an interesting discussion on discuss about Lucene regex support. Our documentation says things like: [a-c] # matches 'a', 'b', or 'c' [^a-c] # matches any character except 'a', 'b', or 'c' Which is correct unless you use as well case_insensitive: true option. In which case you would expect B to match [a-c]. But it does not work that way and it's a known limitation as Robert answered in apache/lucene#14378 (comment). Could we document that somehow?
Documentation preview: |
Pinging @elastic/es-docs (Team:Docs) |
dadoonet
approved these changes
Mar 21, 2025
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.
Thanks!
leemthompo
added a commit
that referenced
this pull request
Mar 21, 2025
* Update regexp-syntax.md 9.x equivalent of #125412 * use md syntax
leemthompo
added a commit
to leemthompo/elasticsearch
that referenced
this pull request
Mar 21, 2025
…c#125413) * Update regexp-syntax.md 9.x equivalent of elastic#125412 * use md syntax
elasticsearchmachine
pushed a commit
that referenced
this pull request
Mar 21, 2025
smalyshev
pushed a commit
to smalyshev/elasticsearch
that referenced
this pull request
Mar 21, 2025
…c#125413) * Update regexp-syntax.md 9.x equivalent of elastic#125412 * use md syntax
omricohenn
pushed a commit
to omricohenn/elasticsearch
that referenced
this pull request
Mar 28, 2025
…c#125413) * Update regexp-syntax.md 9.x equivalent of elastic#125412 * use md syntax
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Flagged by @dadoonet in Slack: