(?s)applies the following effective flags to the remainder of the pattern: gms s modifier: single line. Allows a dot to match line terminators
<the literal < (6010 / 748 / 3C16)
Group 1(str|date|arr|int|long) strthe literal text str (case sensitive) datethe literal text date (case sensitive) arrthe literal text arr (case sensitive) intthe literal text int (case sensitive) longthe literal text long (case sensitive) .*?any Unicode character, repeated any number of times
.+?any Unicode character, repeated at least once
.*?any Unicode character, repeated any number of times
\1the text saved by group 1
>the literal > (6210 / 768 / 3E16)
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