The problem
When I parse a version code like "1.0.0+12", I haven't found a way to retrieve the number "12". I don't know if it can be considered a "build number", but the regular expression of "SEMVER" works. I think it's "group 5" in the regular expression, but that group is never used to populate a field in the object.
@ludeeus That is a bug in the modifier extraction (if you use "-" instead, it works). (should be a separate issue)
Operating system
Debian
Python version
3.11
Problem-relevant code
>>> from awesomeversion import AwesomeVersion, AwesomeVersionStrategy
>>> version = AwesomeVersion("1.0.0+12", ensure_strategy=AwesomeVersionStrategy.SEMVER)
>>> version.modifier
>>>
Traceback/Error logs
Additional information
No response
The problem
When I parse a version code like "1.0.0+12", I haven't found a way to retrieve the number "12". I don't know if it can be considered a "build number", but the regular expression of "SEMVER" works. I think it's "group 5" in the regular expression, but that group is never used to populate a field in the object.
@ludeeus That is a bug in the modifier extraction (if you use "-" instead, it works). (should be a separate issue)
Operating system
Debian
Python version
3.11
Problem-relevant code
Traceback/Error logs
Additional information
No response