Commit e1c326e1 authored by Jason R. Coombs's avatar Jason R. Coombs

Reindent EGG_NAME to reflect structure.

parent a074b625
......@@ -2267,9 +2267,17 @@ OBRACKET = re.compile(r"\s*\[").match
CBRACKET = re.compile(r"\s*\]").match
MODULE = re.compile(r"\w+(\.\w+)*$").match
EGG_NAME = re.compile(
r"(?P<name>.*?)"
r"( -(?P<ver>[^-]+) (-py(?P<pyver>[^-]+) (-(?P<plat>.+))? )? )?$",
re.VERBOSE | re.IGNORECASE
r"""
(?P<name>.*?) (
-(?P<ver>[^-]+) (
-py(?P<pyver>[^-]+) (
-(?P<plat>.+)
)?
)?
)?
$
""",
re.VERBOSE | re.IGNORECASE,
).match
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment