query the literal text query (case sensitive) Group function_name(?P<function_name>\S*) \S*any character that is not Unicode whitespace, repeated any number of times
\s+?a Unicode whitespace character, repeated at least once
Group 2(\((?P<function_args>.+?)\))? ?repeats the group contents below at most once:
\(the literal ( (4010 / 508 / 2816)
Group function_args(?P<function_args>.+?) .+?any Unicode character (except for line terminators), repeated at least once
\)the literal ) (4110 / 518 / 2916)
\s+?a Unicode whitespace character, repeated at least once
{the literal { (12310 / 1738 / 7B16)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string