Skip to content

Fix regex in semantic version specification#212

Open
janikkokot wants to merge 1 commit intoHUPO-PSI:masterfrom
janikkokot:patch-1
Open

Fix regex in semantic version specification#212
janikkokot wants to merge 1 commit intoHUPO-PSI:masterfrom
janikkokot:patch-1

Conversation

@janikkokot
Copy link
Copy Markdown

The previous regex can't match 2.0.0-M but only 02..-M.
This updated regex will correctly match and follows semver conventions as specified under semver.org.
The regex here is also taken and adapted from the one specified at the bottom of the semver homepage.

The previous regex can't fit `2.0.0-M` but only `2..-M`.
This updated regex will correctly match and follows semver conventions as specified under semver.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant