^start of line
Filethe literal text File (case sensitive) \sany whitespace character
"the literal " (3410 / 428 / 2216)
.+any character (except for line terminators), repeated at least once
\sany whitespace character
linethe literal text line (case sensitive) \sany whitespace character
\d+a digit, repeated at least once
,the literal , (4410 / 548 / 2C16)
\sany whitespace character
charactersthe literal text characters (case sensitive) \sany whitespace character
\d+a digit, repeated at least once
-the literal - (4510 / 558 / 2D16)
\d+a digit, repeated at least once
:the literal : (5810 / 728 / 3A16)
\na line-feed (newline) character (ASCII 10)
+?repeats the group contents below at least once:
.any character (except for line terminators)
\na line-feed (newline) character (ASCII 10)
Errorthe literal text Error (case sensitive) Warningthe literal text Warning (case sensitive) \s*any whitespace character, repeated any number of times
.*any character (except for line terminators), repeated any number of times
:the literal : (5810 / 728 / 3A16)
\sany whitespace character
Group 9((.|\n(?!File\s))+) Group 10(.|\n(?!File\s))+ +repeats the group contents below at least once:
.any character (except for line terminators)
2nd Alternative\n(?!File\s) \na line-feed (newline) character (ASCII 10)
Negative Lookahead(?!File\s) Filethe literal text File (case sensitive) \sany whitespace character
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