You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2012/08/02 15:05:02 UTC

[jira] [Closed] (UIMA-2446) Evaluation of optional composed rule elements not working correctly

     [ https://issues.apache.org/jira/browse/UIMA-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl closed UIMA-2446.
-----------------------------

    Resolution: Fixed

fixed for the observed problems, added test, closing for now.
                
> Evaluation of optional composed rule elements not working correctly
> -------------------------------------------------------------------
>
>                 Key: UIMA-2446
>                 URL: https://issues.apache.org/jira/browse/UIMA-2446
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>
> The evaluation of optional composed rule elements is not working correctly. Example:
> Input:
> some data : 20,20
> some more data : 20
> and again : 20,20
> Rule:
> ANY+? NUM (COMMA NUM)?;
> This rule is not matching on the second line. The evaluation of the composed rule elements terminates too early since no comma was found. However, the complete expression should be optional.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira