A regular expression to check a SemVer string.
Install Zerotoprod\RegexSemver
via Composer:
composer require zero-to-prod/regex-semver
Zerotoprod\RegexSemver\RegexSemver::pattern;
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
git checkout -b feature-branch
).git commit -m 'Add some feature'
).git push origin feature-branch
).