3 ms·
The wording is ambiguous, but the BNF later in the spec [1] agrees with your interpretation. Valid version numbers are three numbers separated by dots, followed
by wongarsu 4y ago
The wording is ambiguous, but the BNF later in the spec [1] agrees with your interpretation. Valid version numbers are three numbers separated by dots, followed by either a minus and dot-separated pre-release versions; or a plus and dot-separated build identifiers.
1: https://semver.org/#backusnaur-form-grammar-for-valid-semver-versions https://semver.org/#backusnaur-form-grammar-for-valid-semver...