From 1ef15ea149eee63e6c208bdc6ccbd4ef0c243ecd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 6 Apr 2021 21:08:28 +0300 Subject: ctest-driver.py: MULTILINE regex matching --- tools/ctest-driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/ctest-driver.py') 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 -- cgit v1.2.3