[
https://issues.apache.org/jira/browse/UIMA-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thilo Goetz closed UIMA-1152.
-----------------------------
Resolution: Invalid
I created some more tests, and they all run as expected. Maybe there's some
misunderstanding here about the escaping rules in character classes?
[\s,\.:;\[\]\(\)] doesn't make much sense, all the backslashes don't have their
probably intended effect, except for \] and \[. If this is really a problem,
please create a test case that allows us to understand what's going wrong here.
Thanks.
> Match group counting does not work properly with escaped open bracket within
> variables.
> ---------------------------------------------------------------------------------------
>
> Key: UIMA-1152
> URL: https://issues.apache.org/jira/browse/UIMA-1152
> Project: UIMA
> Issue Type: Bug
> Components: Sandbox-RegexAnnotator
> Affects Versions: 2.2.2S, 2.3S
> Environment: Windows XP
> Reporter: Mateusz Wiacek
> Priority: Minor
>
> Example:
> <variable name="varPunctMarks" value="[\s,\.:;\[\]\(\)]"/>
> Escaped open bracket should not be recognized as matching group, but it does.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.