Neargye / semver

Semantic Versioning for modern C++
MIT License
296 stars 32 forks source link

5.99.999 is valid occurding to semver.org but does not parse #36

Open kp-cat opened 2 years ago

kp-cat commented 2 years ago

Hi,

I think I found a bug.

5.99.999 is valid occurding to semver.org but does not parse:

auto v = semver::from_string("5.99.999");

I get an exception:

C++ exception with description "semver::version::from_string invalid version."
kp-cat commented 2 years ago

I think I found another one:

auto ver = semver::from_string("1.9.1-1");

I get the same exception 😞

C++ exception with description "semver::version::from_string invalid version."