\*the literal * (4210 / 528 / 2A16)
the literal (3210 / 408 / 2016)
\d+a digit, repeated at least once
FETCH the literal text FETCH (case sensitive) \(the literal ( (4010 / 508 / 2816)
UID the literal text UID (case sensitive) \d+a digit, repeated at least once
BODYthe literal text BODY (case sensitive) \[the literal [ (9110 / 1338 / 5B16)
\d+a digit, repeated at least once
}the literal } (12510 / 1758 / 7D16)
\s*any whitespace character, repeated any number of times
*?matches any number of characters from the set below:
\sany whitespace character
\Sany non-whitespace character
Positive Lookahead(?=\)[\r\n]+(?:\* \d+ FETCH \(UID \d+ BODY\[] {\d+}|SS01 OK Success)) \)the literal ) (4110 / 518 / 2916)
+matches at least one character from the set below:
\ra carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
Non-Capturing Group(?:\* \d+ FETCH \(UID \d+ BODY\[] {\d+}|SS01 OK Success) 1st Alternative\* \d+ FETCH \(UID \d+ BODY\[] {\d+} \*the literal * (4210 / 528 / 2A16)
the literal (3210 / 408 / 2016)
\d+a digit, repeated at least once
FETCH the literal text FETCH (case sensitive) \(the literal ( (4010 / 508 / 2816)
UID the literal text UID (case sensitive) \d+a digit, repeated at least once
BODYthe literal text BODY (case sensitive) \[the literal [ (9110 / 1338 / 5B16)
\d+a digit, repeated at least once
}the literal } (12510 / 1758 / 7D16)
2nd AlternativeSS01 OK Success SS01 OK Successthe literal text SS01 OK Success (case sensitive) 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