Support multiline regex
I want to use a regex such as :
(?m)No problems found. (re)
to match output with a variable number of lines, such as:
Warning 1: foo Warning 1: foobaz ... Warning N: foobar No problems found.
I tested the regex with python's re module.
Is the regex given all of the unconsumed output text, or just one line of it?