Skip to content

Commit

Permalink
unescape ~/Projects/tox
Browse files Browse the repository at this point in the history
  • Loading branch information
noviluni committed May 3, 2021
1 parent 71d93f1 commit f99c02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tox/package/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f99c02d

Please sign in to comment.