Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constraint validator for semantic version strings #19

Merged
merged 5 commits into from
Mar 6, 2024

Conversation

dabico
Copy link
Member

@dabico dabico commented Mar 6, 2024

Based on the description from semver.org. Although the regular expression and test data iaretaken from there, we slightly modify the regex to accept an optional v character at the very start.

@dabico dabico merged commit 41be2d1 into master Mar 6, 2024
5 checks passed
@dabico dabico deleted the feature/semver branch March 6, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant