^start of string
\s*any whitespace character, repeated any number of times
functionthe literal text function (case sensitive) \s+any whitespace character, repeated at least once
Group 1([a-zA-Z$_][a-zA-Z\d$_]*) Character Class[a-zA-Z$_] a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
$the literal $ (3610 / 448 / 2416)
_the literal _ (9510 / 1378 / 5F16)
Character Class[a-zA-Z\d$_]* *matches any number of characters from the set below:
a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
\da digit
$the literal $ (3610 / 448 / 2416)
_the literal _ (9510 / 1378 / 5F16)
\s*any whitespace character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)