^start of line
Main:the literal text Main: (case sensitive) \s*any whitespace character, repeated any number of times
\w*any word character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)
\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)
Negated Character Class[^}]* *matches any number of characters outside the set below:
}the literal } (12510 / 1758 / 7D16)
Non-Capturing Group(?:\}(?! <--)[^}]*)* *repeats the group contents below any number of times:
\}the literal } (12510 / 1758 / 7D16)
Negative Lookahead(?! <--) Negated Character Class[^}]* *matches any number of characters outside the set below:
}the literal } (12510 / 1758 / 7D16)
\}the literal } (12510 / 1758 / 7D16)
$end of line
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