Update matchRegex to match regular expressions across multiple lines
Previously, matchRegex would iterate through each line of the output of bazel, checking which rule, if any, matched to the line. Now, each rule is matched over the entire output, allowing them to contain multiline regular expressions.
I also added a corresponding test.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Stale pull request message
Stale pull request message