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

Optional pattern at the start of a group pattern not working

    XMLWordPrintableJSON

Details

    Description

      The optional pattern at the start of a group pattern turns out be "not optional", e.g.

      Pattern.<String>begin("A").next(Pattern.<String>begin("B").optional().next("C")).next("D")
      

      cannot match sequence "a1 c1 d1".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: