Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30839

Relaxed looping group pattern make the following strict contiguity relaxed too

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.15.3, 1.16.1
    • None
    • Library / CEP
    • None

    Description

      If a group pattern loops with relaxed contiguity, the strict contiguity between group pattern and next pattern turns out to be as the same effect as relaxed contiguity.

      E.g. for pattern:

      Pattern.begin(Pattern.begin("A").next("B")).oneOrMore().next("C")
      

      sequence (a b d c) is also a matched one, which is abviously wrong.

      As part of the NFA below shows, the ignore edge on A state causes the unexpected ignoration of event "d".

      Attachments

        Activity

          People

            Unassigned Unassigned
            Juntao Hu Juntao Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: