Revert "support dashes in pre releases"

This reverts commit d1c81ee903388c8b3c3d464bcb306fa4b5db59eb.