Non-Capturing Group(?:doFilter\s*[:=]\s*function|function\s*doFilter) 1st AlternativedoFilter\s*[:=]\s*function doFilterthe literal text doFilter (case sensitive) \s*any whitespace character, repeated any number of times
:the literal : (5810 / 728 / 3A16)
=the literal = (6110 / 758 / 3D16)
\s*any whitespace character, repeated any number of times
functionthe literal text function (case sensitive) 2nd Alternativefunction\s*doFilter functionthe literal text function (case sensitive) \s*any whitespace character, repeated any number of times
doFilterthe literal text doFilter (case sensitive) \(the literal ( (4010 / 508 / 2816)
Negated Character Class[^)]* *matches any number of characters outside the set below:
)the literal ) (4110 / 518 / 2916)
\)the literal ) (4110 / 518 / 2916)
\s*any whitespace character, repeated any number of times
{the literal { (12310 / 1738 / 7B16)
Group 1((?:[^{}]+|{[^}]+})*) Non-Capturing Group(?:[^{}]+|{[^}]+})* *repeats the group contents below any number of times:
Negated Character Class[^{}]+ +matches at least one character outside the set below:
{the literal { (12310 / 1738 / 7B16)
}the literal } (12510 / 1758 / 7D16)
{the literal { (12310 / 1738 / 7B16)
Negated Character Class[^}]+ +matches at least one character outside the set below:
}the literal } (12510 / 1758 / 7D16)
}the literal } (12510 / 1758 / 7D16)
}the literal } (12510 / 1758 / 7D16)
g modifier: global. Finds all matches instead of stopping after the first