^start of line
\s*any whitespace character, repeated any number of times
Group 1(add|and|nor|or|sub) addthe literal text add (case sensitive) andthe literal text and (case sensitive) northe literal text nor (case sensitive) orthe literal text or (case sensitive) subthe literal text sub (case sensitive) \s*any whitespace character, repeated any number of times
\$the literal $ (3610 / 448 / 2416)
Character Class[a-z0-9]{2,4} {2,4}matches between 2 and 4 characters from the set below:
a-zone character from a (9710) to z (12210) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
\$the literal $ (3610 / 448 / 2416)
Character Class[a-z0-9]{2,4} {2,4}matches between 2 and 4 characters from the set below:
a-zone character from a (9710) to z (12210) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
\$the literal $ (3610 / 448 / 2416)
Character Class[a-z0-9]{2,4} {2,4}matches between 2 and 4 characters from the set below:
a-zone character from a (9710) to z (12210) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
\s*any whitespace character, 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