\s*any whitespace character, repeated any number of times
Non-Capturing Group(?:(async)\s+)? ?repeats the group contents below at most once:
asyncthe literal text async (case sensitive) \s+any whitespace character, repeated at least once
functionthe literal text function (case sensitive) \s+any whitespace character, repeated at least once
Non-Capturing Group(?:([_$a-zA-Z][_$a-zA-Z0-9]*)\s*?)? ?repeats the group contents below at most once:
Group 2([_$a-zA-Z][_$a-zA-Z0-9]*) Character Class[_$a-zA-Z] _the literal _ (9510 / 1378 / 5F16)
$the literal $ (3610 / 448 / 2416)
a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
Character Class[_$a-zA-Z0-9]* *matches any number of characters from the set below:
_the literal _ (9510 / 1378 / 5F16)
$the literal $ (3610 / 448 / 2416)
a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
\s*?any whitespace character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)
Group 3((?:\s*(?:[_$a-zA-Z][_$a-zA-Z0-9]*)\s*)(?:,\s*(?:[_$a-zA-Z][_$a-zA-Z0-9]*)\s*)*?) Non-Capturing Group(?:\s*(?:[_$a-zA-Z][_$a-zA-Z0-9]*)\s*) \s*any whitespace character, repeated any number of times
Non-Capturing Group(?:[_$a-zA-Z][_$a-zA-Z0-9]*) Character Class[_$a-zA-Z] _the literal _ (9510 / 1378 / 5F16)
$the literal $ (3610 / 448 / 2416)
a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
Character Class[_$a-zA-Z0-9]* *matches any number of characters from the set below:
_the literal _ (9510 / 1378 / 5F16)
$the literal $ (3610 / 448 / 2416)
a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
\s*any whitespace character, repeated any number of times
Non-Capturing Group(?:,\s*(?:[_$a-zA-Z][_$a-zA-Z0-9]*)\s*)*? *?repeats the group contents below any number of times:
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
Non-Capturing Group(?:[_$a-zA-Z][_$a-zA-Z0-9]*) Character Class[_$a-zA-Z] _the literal _ (9510 / 1378 / 5F16)
$the literal $ (3610 / 448 / 2416)
a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
Character Class[_$a-zA-Z0-9]* *matches any number of characters from the set below:
_the literal _ (9510 / 1378 / 5F16)
$the literal $ (3610 / 448 / 2416)
a-zone character from a (9710) to z (12210) (case sensitive)
A-Zone character from A (6510) to Z (9010) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
\s*any whitespace character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
\s*?any whitespace character, repeated any number of times
\{the literal { (12310 / 1738 / 7B16)
\s*any whitespace character, repeated any number of times
*?matches any number of characters from the set below:
\sany whitespace character
\Sany non-whitespace character
\s*any whitespace character, repeated any number of times
\}the literal } (12510 / 1758 / 7D16)
\s*any whitespace character, repeated any number of times
g modifier: global. Finds all matches instead of stopping after the first