Commit de3e9a3
authored
[DOCS] Clarify regex character range case insensitivity limitations
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?1 parent 7444595 commit de3e9a3
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
184 | 193 | | |
185 | 194 | | |
186 | 195 | | |
| |||
0 commit comments