[
https://issues.apache.org/jira/browse/XERCESJ-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754334#action_12754334
]
Josh Spiegel commented on XERCESJ-1389:
---------------------------------------
Does anybody know if/when this will be fixed?
> RegEx matching: ranges not computed correctly in "ignore case" mode
> -------------------------------------------------------------------
>
> Key: XERCESJ-1389
> URL: https://issues.apache.org/jira/browse/XERCESJ-1389
> Project: Xerces2-J
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.9.1
> Reporter: Radu Preotiuc-Pietro
>
> There are a couple of problems in interpreting character ranges in
> "case-insensitive" mode.
> When doing range subtraction (or negation), all the case-variants of the
> subtracted characters need to be considered. For example, "[^Q]" means, in
> case-insensitive mode, "any character except 'q' or 'Q'" but the regex engine
> matches both 'q' and 'Q' in this example.
> Also, in case-insensitive mode, all character classes must stay the same, so
> for example "\p{Lu}" would not match a lowercase letter, but the regex engine
> matches 'q'.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]