SemVer
Parser which allows to deal with Semantic Versioning (SemVer). Make sure to read the documentation in the SemVerInfo record as well if you manually create versions.
Functions and values
Function or value | Description | ||
SemVer.expand delimiter text
Signature: delimiter:char list -> text:string -> string list
|
Splits the given version string by possible delimiters but keeps them as parts of resulting list. |
||
SemVer.isValid(version)
Signature: version:string -> bool
|
Returns true if input appears to be a parsable semver string |
||
SemVer.parse(version)
Signature: version:string -> SemVerInfo
|
Parses the given version string into a SemVerInfo which can be printed using ToString() or compared according to the rules described in the SemVer docs. Sample
|
||
SemVer.validContent
Signature: Regex
|