Positive Lookbehind(?<=\s|^) \sa Unicode whitespace character
\w+a Unicode word character, repeated at least once
\1the text saved by group 1
\s*a Unicode whitespace character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)
Non-Capturing Group(?:.|\n)*? *?repeats the group contents below any number of times:
.any Unicode character (except for line terminators)
\na line-feed (newline) character (ASCII 10)
\)*the literal ) (4110 / 518 / 2916) , repeated any number of times
Negated Character Class[^{]+ +matches at least one character outside the set below:
{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