Skip to content

Commit ed76a50

Browse files
committed
Merge branch 'main' into esql_keep_ords_1
2 parents c208ee0 + 397c9c5 commit ed76a50

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/reference/query-languages/query-dsl/regexp-syntax.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@ A `^` before a character in the brackets negates the character or range. For exa
138138
[^abc\-] # matches any character except 'a', 'b', 'c', or '-'
139139
```
140140

141+
:::{note}
142+
Character range classes such as `[a-c]` do not behave as expected when using `case_insensitive: true` — they remain case sensitive. For example, `[a-c]+` with `case_insensitive: true` will match strings containing only the characters 'a', 'b', and 'c', but not 'A', 'B', or 'C'. Use `[a-zA-Z]` to match both uppercase and lowercase characters.
143+
144+
This is due to a known limitation in Lucene's regular expression engine.
145+
See [Lucene issue #14378](https://github.com/apache/lucene/issues/14378) for details.
146+
:::
147+
141148

142149
## Optional operators [regexp-optional-operators]
143150

0 commit comments

Comments
 (0)