(?i)applies the following effective flags to the remainder of the pattern: gui i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
referencethe literal text reference (case insensitive) .+?any Unicode character (except for line terminators), repeated at least once
\w+a Unicode word character, repeated at least once
.*any Unicode character (except for line terminators), repeated any number of times
\Ra newline sequence
.+?any Unicode character (except for line terminators), repeated at least once
referencethe literal text reference (case insensitive) .+?any Unicode character (except for line terminators), repeated at least once
\w+a Unicode word character, repeated at least once
g modifier: global. Finds all matches instead of stopping after the first
u modifier: unicode. Treats the pattern and subject as UTF-16