\s*any whitespace character, repeated any number of times
,the literal , (4410 / 548 / 2C16)
Positive Lookahead(?=(?:[^']*'[^']*')*[^']*$) Non-Capturing Group(?:[^']*'[^']*')* *repeats the group contents below any number of times:
Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
$end of line
\s*any whitespace character, repeated any number of times
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