Test, validate and match regular expressions
Matches any line beginning with the literal text 'Output:' followed by one or more whitespace characters, capturing the rest of the line into a named capture group called 'output'. The multiline (^/$) and global (g) flags allow processing multiple lines in a document at once. The non-greedy .*? ensures the capture stops at the end of each line. Commonly used for parsing logs, test results, or command-line tool output where values are prefixed with 'Output:' labels.