From b5a31a9c6adf598cd81a2c137a305a95e9ecf364 Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 3 May 2021 15:43:32 +0200 Subject: [PATCH] unescape - --- src/tox/package/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tox/package/local.py b/src/tox/package/local.py index d404319a2..0ae86155a 100644 --- a/src/tox/package/local.py +++ b/src/tox/package/local.py @@ -49,7 +49,7 @@ def get_latest_version_of_package(package_spec): return candidates[0] -_REGEX_FILE_NAME_WITH_VERSION = re.compile(r"[\w_\-+.]+-(.*)\.(zip|tar\.gz)") +_REGEX_FILE_NAME_WITH_VERSION = re.compile(r"[\w_+.-]+-(.*)\.(zip|tar\.gz)") def get_version_from_filename(basename):