^start of line
\s*any whitespace character, repeated any number of times
Negated Character Class[^#] #the literal # (3510 / 438 / 2316)
Character Class[\w\d_-]+? +?matches at least one character from the set below:
\wany word character
\da digit
_the literal _ (9510 / 1378 / 5F16)
-the literal - (4510 / 558 / 2D16)
\[the literal [ (9110 / 1338 / 5B16)
Character Class[\w\d_-]+? +?matches at least one character from the set below:
\wany word character
\da digit
_the literal _ (9510 / 1378 / 5F16)
-the literal - (4510 / 558 / 2D16)
]the literal ] (9310 / 1358 / 5D16)
\s*any whitespace character, repeated any number of times
=the literal = (6110 / 758 / 3D16)
\s*any whitespace character, repeated any number of times
\d+a digit, repeated at least once
\s*any whitespace character, repeated any number of times
$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