Juntao Hu created FLINK-30864:
---------------------------------

             Summary: Optional pattern at the start of a group pattern not 
working
                 Key: FLINK-30864
                 URL: https://issues.apache.org/jira/browse/FLINK-30864
             Project: Flink
          Issue Type: Bug
          Components: Library / CEP
    Affects Versions: 1.16.1
            Reporter: Juntao Hu


The optional pattern at the start of a group pattern turns out be "not 
optional", e.g.
{code:java}
Pattern.<String>begin("A").next(Pattern.<String>begin("B").optional().next("C")).next("D")
{code}
cannot match sequence "a1 c1 d1".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to