Hi, thanks for the library. In bullet point 10, semver 2.0.0 states about build metadata: "Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-]."
You library currently complains that "0.1.0+SNAPSHOT-123.git456" is not a valid version. I tried fixing the regex in Regex.php to private static $version = '/^(?<version>[0-9]+\.[0-9]+\.[0-9]+)(?<prerelease>-[0-9a-zA-Z.]+)?(?<build>\+[-0-9a-zA-Z.]+)?$/';, but that lead to another issue.
Hi, thanks for the library. In bullet point 10, semver 2.0.0 states about build metadata: "Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-]."
You library currently complains that "0.1.0+SNAPSHOT-123.git456" is not a valid version. I tried fixing the regex in
Regex.php
toprivate static $version = '/^(?<version>[0-9]+\.[0-9]+\.[0-9]+)(?<prerelease>-[0-9a-zA-Z.]+)?(?<build>\+[-0-9a-zA-Z.]+)?$/';
, but that lead to another issue.