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

Ruta: strange behavior of # matching

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0ruta
    • 2.6.1ruta
    • Ruta
    • None
    • MacOS X and Linux

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: