Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/reference/query-languages/query-dsl/regexp-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ A `^` before a character in the brackets negates the character or range. For exa
[^abc\-] # matches any character except 'a', 'b', 'c', or '-'
```

:::{note}
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.

This is due to a known limitation in Lucene's regular expression engine.
See [Lucene issue #14378](https://github.com/apache/lucene/issues/14378) for details.
:::


## Optional operators [regexp-optional-operators]

Expand Down
Loading