nikolaposa / version

♈ Value Object that represents a SemVer-compliant version number.
MIT License
139 stars 10 forks source link

Fix comparison when identifier of pre release contains both letters and numbers #20

Closed dontub closed 6 years ago

dontub commented 6 years ago

Before a string containing both letters and numbers was treated wrong in the first check because ctype_alpha() returns false in that case.