\ban ASCII word boundary
structurethe literal text structure (case sensitive) \s+any whitespace character, repeated at least once
+matches at least one character from the set below:
\wany word character
.the literal . (4610 / 568 / 2E16)
-the literal - (4510 / 558 / 2D16)
Non-Capturing Group(?:\n.*)+ +repeats the group contents below at least once:
\na line-feed (newline) character (ASCII 10)
.*any character (except for line terminators), repeated any number of times
\ban ASCII word boundary
endthe literal text end (case sensitive) \s+any whitespace character, repeated at least once
\1the text saved by group 1
\ban ASCII word boundary
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