.+any character (except for line terminators), repeated at least once
.*any character (except for line terminators), repeated any number of times
,the literal , (4410 / 548 / 2C16)
Negative Lookahead(?!.*(?=\1)((?=(..+)(\4+$))\5)*(?!\2)) .*any character (except for line terminators), repeated any number of times
\1the text saved by group 1
Group 3((?=(..+)(\4+$))\5)* *repeats the group contents below any number of times:
Positive Lookahead(?=(..+)(\4+$)) .any character (except for line terminators)
.+any character (except for line terminators), repeated at least once
\4+the text saved by group 4, repeated at least once
$end of line
\5the text saved by group 5
\2the text saved by group 2
.*any character (except for line terminators), repeated any number of times
\1the text saved by group 1
\Kresets the starting point of the reported match. Any previously consumed characters are no longer included in the final match
(?3)*calls group 3 as a subroutine, repeated any number of times
\2the text saved by group 2
$end of line
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
g modifier: global. Finds all matches instead of stopping after the first