Neargye / semver

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

Exception in parsing "1.37.0-1" #23

Open tirolerstefan opened 3 years ago

tirolerstefan commented 3 years ago

Nice header-only project, but unfortunately not usable for me, because the following code throws an exeption (semver::version::from_string invalid version).

semver::version vNew = semver::from_string("1.37.0-1");

According to semver.org, this is a valid version with "pre-release" tag.