.*any Unicode character (except for line terminators), repeated any number of times
Group 1(event1|event2|event3) event1the literal text event1 (case sensitive) event2the literal text event2 (case sensitive) event3the literal text event3 (case sensitive) \D*?any character that is not a Unicode decimal digit, repeated any number of times
\d*a Unicode decimal digit, repeated any number of times
\D*any character that is not a Unicode decimal digit, repeated any number of times
$end of line
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string