mtkennerly / dunamai

Dynamic versioning library and CLI
https://dunamai.readthedocs.io/en/latest
MIT License
312 stars 24 forks source link

pattern match on base version in Version constructor #41

Closed marnikow closed 2 years ago

marnikow commented 2 years ago

When creating a new Version dunamai treats everything as the base. I added pattern matching to the constructor so that more information is extracted from the base string.