From 7836b4faa320cccdeb25966dd8fefcf89107c564 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 2 Oct 2022 21:39:36 -0400 Subject: fix: */foo matches "foo/x.py", to help with combining relative file names. #991 --- coverage/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/misc.py') diff --git a/coverage/misc.py b/coverage/misc.py index e9b1b8eb..98a5d139 100644 --- a/coverage/misc.py +++ b/coverage/misc.py @@ -181,7 +181,7 @@ def bool_or_none(b): def join_regex(regexes): - """Combine a list of regexes into one that matches any of them.""" + """Combine a series of regexes into one that matches any of them.""" return "|".join(f"(?:{r})" for r in regexes) -- cgit v1.2.1