+matches at least one character from the set below:
\wa Unicode word character
the literal (3210 / 408 / 2016)
mainthe literal text main (case sensitive) \(the literal ( (4010 / 508 / 2816)
*matches any number of characters from the set below:
\wa Unicode word character
the literal (3210 / 408 / 2016)
\)the literal ) (4110 / 518 / 2916)
{the literal { (12310 / 1738 / 7B16)
Group body(?P<body>(?:\n|.)+) Non-Capturing Group(?:\n|.)+ +repeats the group contents below at least once:
\na line-feed (newline) character (ASCII 10)
.any Unicode character (except for line terminators)
}the literal } (12510 / 1758 / 7D16)
g modifier: global. Finds all matches instead of stopping after the first