[ 
https://issues.apache.org/jira/browse/FLINK-30885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dian Fu reassigned FLINK-30885:
-------------------------------

    Assignee: Juntao Hu

> Optional group pattern starts with non-optional looping pattern get wrong 
> result on followed-by
> -----------------------------------------------------------------------------------------------
>
>                 Key: FLINK-30885
>                 URL: https://issues.apache.org/jira/browse/FLINK-30885
>             Project: Flink
>          Issue Type: Bug
>          Components: Library / CEP
>    Affects Versions: 1.16.1
>            Reporter: Juntao Hu
>            Assignee: Juntao Hu
>            Priority: Major
>             Fix For: 1.17.0, 1.15.4, 1.16.2
>
>
> {code:java}
> Pattern.begin("A")
>   .followedBy(
>     Pattern.begin("B").oneOrMore().greedy().consecutive()
>       .next("C"))
>   .optional()
>   .next("D"){code}
> This can match "a1 e1 d1", which is not the expected behavior.



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

Reply via email to