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

Dian Fu closed FLINK-30885.
---------------------------
    Resolution: Fixed

Fixed in:
- master via 845d04d07d623e93a5bc3276eab45eed9edec264
- release-1.17 via cf448f05c5605f37dd170f8709f28d836feba5a6
- release-1.16 via b13a11c04c0fe96ee5a05878fbab99df7ec3478f
- release-1.15 via 1ac1e0d7dd078a85cb0f127aa75e161e03b2fd41

> 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
>            Priority: Major
>
> {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