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

Ruta: strange behavior of # matching

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0ruta
    • Fix Version/s: 2.6.1ruta
    • Component/s: Ruta
    • Labels:
      None
    • Environment:

      MacOS X and Linux

    • Docs Text:
      Hide
      1 A ...... 1
      2 B ...... 2
      Show
      1 A ...... 1 2 B ...... 2

      Description

      The attached ruleset Loop.ruta has a strange behavior on the attached text file : the last rule matches 1009 times and creates 1008 annotations where only two are expected. What is very strange is the ability for # to "cross" over the right boundary and match the two lines.
      This is (at least) counterintuitive as # is supposed to behave like a non-greedy catch-all.

        Attachments

        1. Loop.ruta
          0.1 kB
          Hugues de Mazancourt
        2. text.txt
          0.0 kB
          Hugues de Mazancourt

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              mazancourt Hugues de Mazancourt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: