You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org> on 2009/01/14 17:35:59 UTC
[jira] Created: (UIMA-1264) Regex annotator goes into infinite loop
on patterns that match the empty string
Regex annotator goes into infinite loop on patterns that match the empty string
-------------------------------------------------------------------------------
Key: UIMA-1264
URL: https://issues.apache.org/jira/browse/UIMA-1264
Project: UIMA
Issue Type: Bug
Components: Sandbox-RegexAnnotator
Affects Versions: 2.2.2
Reporter: Thilo Goetz
Assignee: Thilo Goetz
Fix For: 2.3S
When a regex matches the empty string (e.g., a* matching against bbbb), and the match strategy is "matchAll", the regex annotator goes into an infinite loop.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-1264) Regex annotator goes into infinite loop
on patterns that match the empty string
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Baessler closed UIMA-1264.
----------------------------------
Changes looks good to me.
Thanks for the fix, I verified the defect and closed it.
> Regex annotator goes into infinite loop on patterns that match the empty string
> -------------------------------------------------------------------------------
>
> Key: UIMA-1264
> URL: https://issues.apache.org/jira/browse/UIMA-1264
> Project: UIMA
> Issue Type: Bug
> Components: Sandbox-RegexAnnotator
> Affects Versions: 2.2.2
> Reporter: Thilo Goetz
> Assignee: Michael Baessler
> Fix For: 2.3S
>
>
> When a regex matches the empty string (e.g., a* matching against bbbb), and the match strategy is "matchAll", the regex annotator goes into an infinite loop.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (UIMA-1264) Regex annotator goes into infinite
loop on patterns that match the empty string
Posted by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thilo Goetz resolved UIMA-1264.
-------------------------------
Resolution: Fixed
Assignee: Michael Baessler (was: Thilo Goetz)
Fixed, test case added. Regular expressions are such fun! I had no idea that the empty string was a valid regex.
Michael, please check what I did. Thanks.
> Regex annotator goes into infinite loop on patterns that match the empty string
> -------------------------------------------------------------------------------
>
> Key: UIMA-1264
> URL: https://issues.apache.org/jira/browse/UIMA-1264
> Project: UIMA
> Issue Type: Bug
> Components: Sandbox-RegexAnnotator
> Affects Versions: 2.2.2
> Reporter: Thilo Goetz
> Assignee: Michael Baessler
> Fix For: 2.3S
>
>
> When a regex matches the empty string (e.g., a* matching against bbbb), and the match strategy is "matchAll", the regex annotator goes into an infinite loop.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.