diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-06 21:08:28 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-06 21:08:28 +0300 |
commit | 1ef15ea149eee63e6c208bdc6ccbd4ef0c243ecd (patch) | |
tree | 048a9b8b4abeedb80b941d5fbca30f93f13d7751 | |
parent | ctest-driver.py: handle additional '--'s (diff) | |
download | cmake-common-1ef15ea149eee63e6c208bdc6ccbd4ef0c243ecd.tar.gz cmake-common-1ef15ea149eee63e6c208bdc6ccbd4ef0c243ecd.zip |
ctest-driver.py: MULTILINE regex matching
-rwxr-xr-x | tools/ctest-driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ctest-driver.py b/tools/ctest-driver.py index eaab3b8..a3fa3e3 100755 --- a/tools/ctest-driver.py +++ b/tools/ctest-driver.py @@ -50,7 +50,7 @@ def match_any(s, regexes): if not regexes: return True for regex in regexes: - if re.search(regex, s): + if re.search(regex, s, flags=re.MULTILINE): return True return False |