Group 1(\w+\s*\n*=\s*\n*) \w+any word character, repeated at least once
\s*any whitespace character, repeated any number of times
\n*a line-feed (newline) character (ASCII 10), repeated any number of times
=the literal = (6110 / 758 / 3D16)
\s*any whitespace character, repeated any number of times
\n*a line-feed (newline) character (ASCII 10), repeated any number of times
\{the literal { (12310 / 1738 / 7B16)
\n*a line-feed (newline) character (ASCII 10), repeated any number of times
\s*any whitespace character, repeated any number of times
`the literal ` (9610 / 1408 / 6016)
Group 2((?:[^`](?!(?:\$\{|\n|(?:'[^`]*"|"[^`]*'))))*) Non-Capturing Group(?:[^`](?!(?:\$\{|\n|(?:'[^`]*"|"[^`]*'))))* *repeats the group contents below any number of times:
Negated Character Class[^`] `the literal ` (9610 / 1408 / 6016)
Negative Lookahead(?!(?:\$\{|\n|(?:'[^`]*"|"[^`]*'))) Non-Capturing Group(?:\$\{|\n|(?:'[^`]*"|"[^`]*')) \$the literal $ (3610 / 448 / 2416)
\{the literal { (12310 / 1738 / 7B16)
\na line-feed (newline) character (ASCII 10)
3rd Alternative(?:'[^`]*"|"[^`]*') Non-Capturing Group(?:'[^`]*"|"[^`]*') 'the literal ' (3910 / 478 / 2716)
Negated Character Class[^`]* *matches any number of characters outside the set below:
`the literal ` (9610 / 1408 / 6016)
"the literal " (3410 / 428 / 2216)
"the literal " (3410 / 428 / 2216)
Negated Character Class[^`]* *matches any number of characters outside the set below:
`the literal ` (9610 / 1408 / 6016)
'the literal ' (3910 / 478 / 2716)
`the literal ` (9610 / 1408 / 6016)
\n*a line-feed (newline) character (ASCII 10), repeated any number of times
\s*any whitespace character, repeated any number of times
\}the literal } (12510 / 1758 / 7D16)
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