Restrict #egg=
fragments to valid PEP 508 names
#11617
+63
−5
Merged