\ban ASCII word boundary
\w+any word character, repeated at least once
\[the literal [ (9110 / 1338 / 5B16)
\s*any whitespace character, repeated any number of times
'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
.+?any character (except for line terminators), repeated at least once
\1the text saved by group 1
\s*any whitespace character, repeated any number of times
\]the literal ] (9310 / 1358 / 5D16)
g modifier: global. Finds all matches instead of stopping after the first