fix: prerelease identifier starting with digits (#781) Closes #775 The regex for the prerelease identifier was not precise enough. Changing the order of numeric and non-numeric parts fixes the issue. I reverted the change to inc function in semver.js. The tests still pass 😃 I added tests that check the exact result of parsing valid versions in particular the pre-release and build parts which was somehow missing. We might want to add edge cases here. Related: #764 (comment) Configuration menu Browse the repository at this point in the history