Hi Dawid,
Thanks a lot for the explanation, it's all clear now.
Best,
Yassine
2017-07-23 13:11 GMT+02:00 Dawid Wysakowicz :
> Hi Yassine,
>
> First of all notNext(A) is not equal to next(not A). notNext should be
> considered as a “stopCondition” which tells if an event matching the A
> conditi
Hi Yassine,
First of all notNext(A) is not equal to next(not A). notNext should be
considered as a “stopCondition” which tells if an event matching the A
condition occurs the current partial match is discarded. The next(not A) on the
other hand accepts every event that do not match the A condit
Hi all,
I would like to match the maximal consecutive sequences of events of type A
in a stream.
I'm using the following :
Pattern.begin("start").where(event is not A)
.next("middle").where(event is A).oneOrMore().consecutive()
.next("not").where(event is not A)
I This give the output I want.