Peter Klügl created UIMA-2446:
---------------------------------

             Summary: 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


Reply via email to