^start of line
definethe literal text define (case insensitive) \(the literal ( (4010 / 508 / 2816)
\s*any whitespace character, repeated any number of times
'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
Group 2((?:\\\1|(?:(?!\1).))*) Non-Capturing Group(?:\\\1|(?:(?!\1).))* *repeats the group contents below any number of times:
\\the literal \ (9210 / 1348 / 5C16)
\1the text saved by group 1
2nd Alternative(?:(?!\1).) Non-Capturing Group(?:(?!\1).) \1the text saved by group 1
.any character (except for line terminators)
\1the text saved by group 1
\s*any whitespace character, repeated any number of times
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
Group 4((?:\\\3|(?:(?!\3).))*) Non-Capturing Group(?:\\\3|(?:(?!\3).))* *repeats the group contents below any number of times:
\\the literal \ (9210 / 1348 / 5C16)
\3the text saved by group 3
2nd Alternative(?:(?!\3).) Non-Capturing Group(?:(?!\3).) \3the text saved by group 3
.any character (except for line terminators)
\3the text saved by group 3
\s*any whitespace character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
;the literal ; (5910 / 738 / 3B16)
g modifier: global. Finds all matches instead of stopping after the first
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string