semver.c icon indicating copy to clipboard operation
semver.c copied to clipboard

Parse expressions

Open h2non opened this issue 10 years ago • 0 comments

Built-in support to easily parse semver expressions, such as:

^ 1.2.3
~ 1.2.3
= 1.2.3
>= 1.2.3
1.2.3 > 2
1.2.3 ^ 2
1.2.3 ~ 2

API:

semver_expression("^1.2.3", "0.1.3")

h2non avatar Nov 02 '15 19:11 h2non