support dashes in pre releases

references #263
Merge pull request #288 from mexx/dash-in-prerelease

support dashes in pre releases