Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2446

Evaluation of optional composed rule elements not working correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0TextMarker
    • 2.0.0TextMarker
    • Ruta
    • None

    Description

      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.

      Attachments

        Activity

          People

            pkluegl Peter Klügl
            pkluegl Peter Klügl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: