ice => state := A
> 2a) David => OK
> 2b) Bob => state := AB
> 2c) Edward => state := _
>
> And so on.
> -W
>
>
>
>
> On 20 July 2011 22:21, Edward Johnson < ejohn...@coderyte.com > wrote:
>
>
> How do you do rules that are a sequence of
How do you do rules that are a sequence of events where some of them are
optional?
Example:
Alert if DAVID enters a room after ALICE or after ALICE and BOB
If it were a string, this is roughly equivalant to the regex /ALICE( BOB)?
DAVID/
So:
Alice then David => alert
Alice then Bob then David