diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-10-02 21:39:36 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-10-15 13:58:50 -0400 |
commit | 7836b4faa320cccdeb25966dd8fefcf89107c564 (patch) | |
tree | 2e6a43d2c59173696b856f1a588c872d8601fa42 /coverage/misc.py | |
parent | 60fa1306d2b02aa718a21c8e9da10fc063063fe7 (diff) | |
download | python-coveragepy-git-7836b4faa320cccdeb25966dd8fefcf89107c564.tar.gz |
fix: */foo matches "foo/x.py", to help with combining relative file names. #991
Diffstat (limited to 'coverage/misc.py')
-rw-r--r-- | coverage/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |