(?!\N{U+2E2F})[\p{L}\p{Nl}\N{U+1885}-\N{U+1886}\N{U+2118}\N{U+212E}\N{U+309B}-\N{U+309C}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\N{U+00B7}\N{U+0387}\N{U+1369}-\N{U+1371}\N{U+19DA}$\N{U+200C}\N{U+200D}]
\(
\)
\%{js:before-next-token}
\%{js:before-next-token}
(?=\()
\%{js:before-next-token}
!(?!=)
(?(DEFINE)
(?<arguments> # recursive subpattern to find matching brackets
<
(?:
(?> [^<>]+ ) |
(?&arguments)
)*
>
)
)
(?=
(?&arguments)
\%{js:optional-whitespace-or-comments}
(?: \( | ` ) # function call or tagged template
)
\%{js:before-next-token}
\%{js:as-keyword}
\%{js:before-next-token}