^start of line
(?i)applies the following effective flags to the remainder of the pattern: gmi i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
*?matches any number of characters from the set below:
a-zone character from a (9710) to z (12210) (case insensitive)
a-zone character from a (9710) to z (12210) (case insensitive)
*?matches any number of characters from the set below:
a-zone character from a (9710) to z (12210) (case insensitive)
\1the text saved by group 1
(?-i)applies the following effective flags to the remainder of the pattern: gm i modifier: -insensitive. Case-sensitive match
(*SKIP)acts like (*PRUNE), but the next unanchored match attempt starts where (*SKIP) was reached instead of at the next subject character
(*F)forces the current match attempt to fail at this position