Fix deprecation warnings due to invalid escape sequences. (#317)

This commit is contained in:
Karthikeyan Singaravelan 2020-07-10 08:34:39 +05:30 committed by GitHub
parent 11ed7e6abd
commit 0a9904af57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -134,7 +134,7 @@ def parse_version(s):
_archive_suffix_rx = re.compile( _archive_suffix_rx = re.compile(
r"(\.zip|\.tar\.gz|\.tgz|\.tar\.bz2|-py[23]\.\d-.*|" r"(\.zip|\.tar\.gz|\.tgz|\.tar\.bz2|-py[23]\.\d-.*|"
"\.win-amd64-py[23]\.\d\..*|\.win32-py[23]\.\d\..*|\.egg)$", r"\.win-amd64-py[23]\.\d\..*|\.win32-py[23]\.\d\..*|\.egg)$",
re.I) re.I)
wheel_file_re = re.compile( wheel_file_re = re.compile(
r"""^(?P<namever>(?P<name>.+?)-(?P<ver>\d.*?)) r"""^(?P<namever>(?P<name>.+?)-(?P<ver>\d.*?))