Hi everyone! I just arrived, and I'm wondering if something like this is possible using CEP (sadly, could not find any similar example in docs):
example #1:
Pattern: a b c
Input: a1 b1 a2 b2 c1 c2
Matches: (a1, b1, c1); (a2, b2, c2) <- I only want these two matches
example #2:
Pattern: a b c
Input: a1 a2 b1 a3 b2 c1 c2 b3 c3
Matches: (a1, b1, c1); (a2, b2, c2); (a3, b3, c3)
Numbers added for clarity, in fact, they could potentially be same: a1 = a2 = a3; b1 = b2 = b3; c1 = c2 = c3;
In other words, something like 'first in, first out' and each input element should be in only one match.