[
https://issues.apache.org/jira/browse/FLINK-30864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688497#comment-17688497
]
Matthias Pohl edited comment on FLINK-30864 at 2/14/23 1:05 PM:
----------------------------------------------------------------
This change causes compiler errors in {{release-1.16}}
1.16
was (Author: mapohl):
This change causes compiler errors in {{release-1.16}}
> 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
> Assignee: Juntao Hu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.17.0, 1.15.4, 1.16.2
>
>
> 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)