Github user dawidwys commented on a diff in the pull request:
https://github.com/apache/flink/pull/4296#discussion_r129262270
--- Diff:
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/pattern/Pattern.java
---
@@ -492,4 +506,10 @@ private void checkIfQuantifierApplied() {
"Current quantifier is: " + quantifier);
}
}
+
+ private void checkIfNoFollowedByAny() {
+ if (quantifier.getConsumingStrategy() ==
ConsumingStrategy.SKIP_TILL_ANY) {
--- End diff --
I think it is a valid combination. I think the InnerConsumingStrategy
should not be `SKIP_TILL_ANY`.
So `followedByAny("loop").oneOrMore().greedy()` in my opinion is a valid
one, but `followedByAny("loop").oneOrMore().allowCombinations().greedy()` is
not.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---