Matches SemVer (Semantic Versioning) strings.
The string MAY start with a "v" but it is not matched.
Text | Result |
---|---|
1.2.3
| match |
1.2.3-pre
| match |
1.2.3+build
| match |
1.2.3-pre+build
| match |
v1.2.3-pre+build
| match |
1.2 | no match |
major
minor
patch
prerelease
build