diff options
author | PJ Eby <distutils-sig@python.org> | 2006-07-20 20:47:41 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2006-07-20 20:47:41 +0000 |
commit | 9dea600914272888a5c78e0de581000f854b0d6e (patch) | |
tree | 46e1bda9d1e62139d2c27ce3bf010b52fedac792 /setuptools/package_index.py | |
parent | bad362fe5671f2b1567b2f779f57b76edac7f55e (diff) | |
download | external_python_setuptools-9dea600914272888a5c78e0de581000f854b0d6e.tar.gz external_python_setuptools-9dea600914272888a5c78e0de581000f854b0d6e.tar.bz2 external_python_setuptools-9dea600914272888a5c78e0de581000f854b0d6e.zip |
Backport PyPI regex change.
--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4050735
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-x | setuptools/package_index.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index 5bccbb8e..837eff19 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -11,8 +11,8 @@ EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.]+)$') HREF = re.compile("""href\\s*=\\s*['"]?([^'"> ]+)""", re.I) # this is here to fix emacs' cruddy broken syntax highlighting PYPI_MD5 = re.compile( - '<a href="([^"#]+)">([^<]+)</a>\n\s+\\(<a href="[^?]+\?:action=show_md5' - '&digest=([0-9a-f]{32})">md5</a>\\)' + '<a href="([^"#]+)">([^<]+)</a>\n\s+\\(<a (?:title="MD5 hash"\n\s+)' + 'href="[^?]+\?:action=show_md5&digest=([0-9a-f]{32})">md5</a>\\)' ) URL_SCHEME = re.compile('([-+.a-z0-9]{2,}):',re.I).match |