From f99c02dfe154467f2005d5a8c9200316a1c9dbb1 Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 3 May 2021 15:38:06 +0200 Subject: [PATCH] unescape ~/Projects/tox --- 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 d404319a2b..2acb3895f0 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):