\ban ASCII word boundary
functionthe literal text function (case sensitive) \s+any whitespace character, repeated at least once
\w+any word character, repeated at least once
\(the literal ( (4010 / 508 / 2816)
Negated Character Class[^()]* *matches any number of characters outside the set below:
(the literal ( (4010 / 508 / 2816)
)the literal ) (4110 / 518 / 2916)
\)the literal ) (4110 / 518 / 2916)
\s+any whitespace character, repeated at least once
{the literal { (12310 / 1738 / 7B16)