Skip to content

Support for semantic version strings and comparison #912

Answered by cueckoo
cueckoo asked this question in Q&A
Discussion options

You must be logged in to vote

Original reply by @myitcv in cuelang/cue#912 (comment)

Apologies for the delay in replying, @codewithcheese. A regexp approach will work (per cuelang/cue#407 (comment)). And per @mpvl the plan at the moment is not necessarily to provide a builtin equivalent of https://pkg.go.dev/golang.org/x/mod/semver, rather to consider what building blocks would be better primitive (@mpvl gives the example of https://pkg.go.dev/golang.org/x/text/collate

Replies: 1 comment 1 reply

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
1 reply
@mpvl
Comment options

mpvl Jul 8, 2021
Maintainer

Answer selected by myitcv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants