JOBthe literal text JOB (case sensitive) +matches at least one character from the set below:
\sany whitespace character
\wany word character
-the literal - (4510 / 558 / 2D16)
:the literal : (5810 / 728 / 3A16)
#the literal # (3510 / 438 / 2316)
\w+any word character, repeated at least once
\[the literal [ (9110 / 1338 / 5B16)
+matches at least one character from the set below:
\sany whitespace character
\wany word character
\Wany non-word character
SCRIPTthe literal text SCRIPT (case sensitive) \s+any whitespace character, repeated at least once
\:the literal : (5810 / 728 / 3A16)
\s?optionally matches any whitespace character
Group script(?<script>[^\s]+) Negated Character Class[^\s]+ +matches at least one character outside the set below:
\sany whitespace character
*matches any number of characters from the set below:
\sany whitespace character
\Sany non-whitespace character
Exitthe literal text Exit (case sensitive) \sany whitespace character
Statusthe literal text Status (case sensitive) \s+any whitespace character, repeated at least once
:the literal : (5810 / 728 / 3A16)
Group exit_status(?<exit_status>\w+) \w+any word character, repeated at least once
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