diff options
author | PJ Eby <distutils-sig@python.org> | 2005-09-24 19:44:27 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-09-24 19:44:27 +0000 |
commit | 0ae86e5c56ef3fb2b6ddc1e5ac95b36452ba5104 (patch) | |
tree | 869886160566270f4bb014ec780bdbc6c2b501fa /setuptools/package_index.py | |
parent | b6b29d019d1c33c75ee45fe8846525c75f1ed404 (diff) | |
download | external_python_setuptools-0ae86e5c56ef3fb2b6ddc1e5ac95b36452ba5104.tar.gz external_python_setuptools-0ae86e5c56ef3fb2b6ddc1e5ac95b36452ba5104.tar.bz2 external_python_setuptools-0ae86e5c56ef3fb2b6ddc1e5ac95b36452ba5104.zip |
Fix a bug parsing #egg links reported by Ben Bangert on the distutils-sig.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041251
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-x | setuptools/package_index.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index da6cf8cd..f5b322b0 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -6,7 +6,7 @@ from distutils import log from distutils.errors import DistutilsError from md5 import md5 -EGG_FRAGMENT = re.compile('^egg=(\\w+(-\\w+)?)$') +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 |