(?m)applies the following effective flags to the remainder of the pattern: gm m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
^start of line
.*?any character (except for line terminators), repeated any number of times
'the literal ' (3910 / 478 / 2716)
*the literal (3210 / 408 / 2016) , repeated any number of times
,the literal , (4410 / 548 / 2C16)
*the literal (3210 / 408 / 2016) , repeated any number of times
'the literal ' (3910 / 478 / 2716)
.*?any character (except for line terminators), repeated any number of times
'the literal ' (3910 / 478 / 2716)
*the literal (3210 / 408 / 2016) , repeated any number of times
,the literal , (4410 / 548 / 2C16)
*the literal (3210 / 408 / 2016) , repeated any number of times
'the literal ' (3910 / 478 / 2716)
.*?any character (except for line terminators), repeated any number of times
'the literal ' (3910 / 478 / 2716)
*the literal (3210 / 408 / 2016) , repeated any number of times
,the literal , (4410 / 548 / 2C16)
*the literal (3210 / 408 / 2016) , repeated any number of times
'the literal ' (3910 / 478 / 2716)
.*?any character (except for line terminators), repeated any number of times
'the literal ' (3910 / 478 / 2716)
g modifier: global. Finds all matches instead of stopping after the first