Match one or two events, followed by other events in order.
The query in the last activity detected a sequence of events in a specific order.
Follow these steps to examine a project that detects front running with the initial order coming from either of two sources:
Exercise
Complete the following exercise to explore additional pattern matching capabilities. See Solutions for a possible solution to this exercise.
Insert an exclamation point before "Cust" in the MATCHING clause so that it looks like this:
MATCHING [10 SECONDS: Phone || Web, Broker, !Cust]
What do you expect the results of this change will be? Run the project and verify your expectation.