[pcre-dev] [Bug 2625] Unexpected caseless matching of ASCII …

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 2625] Unexpected caseless matching of ASCII "s" when using "[\x{00FF}-\x{FFEE}]" in UTF-16 text
https://bugs.exim.org/show_bug.cgi?id=2625

--- Comment #3 from Philip Hazel <ph10@???> ---
(In reply to Rich Siegel from comment #2)

> Does it make sense to consider a flag in the PCRE2_EXTRA* space which would
> limit case folding to the ASCII range when PCRE2_CASELESS is specified? (I'm
> not yet advocating for it; I can see some clear limitations and
> disadvantages, and trying to express all of the possible variations could
> rapidly turn into a snake pit.)


I think the best way of doing this would be to add PCRE2_ASCII_CASELESS to the
main options, because having two separated flags seems very untidy. There are
only two bits left in the main options, so I am slightly reluctant, but on the
other hand leaving them unused just in case something more important comes
along could last for ever. Zoltan, what do you think? Implementing this would
need changes to JIT as well as the interpreters.

--
You are receiving this mail because:
You are on the CC list for the bug.