From 7995f69a4493cf4bfebbe66fca4650c09567b40e Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 8 Jan 2019 14:00:06 -0800 Subject: [PATCH] Improve performance of no-tests-as-filters test. --- test/sanity/code-smell/no-tests-as-filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity/code-smell/no-tests-as-filters.py b/test/sanity/code-smell/no-tests-as-filters.py index 792dc988341..04f50fb88ce 100755 --- a/test/sanity/code-smell/no-tests-as-filters.py +++ b/test/sanity/code-smell/no-tests-as-filters.py @@ -45,7 +45,7 @@ TEST_MAP = { } -FILTER_RE = re.compile(r'((.+?)\s*(?P[\w .\'"]+)(\s*)\|(\s*)(?P\w+))') +FILTER_RE = re.compile(r'(?P[\w .\'"]+)(\s*)\|(\s*)(?P\w+)') def main():