private static boolean isSemVer(String string) {
        return SEMVER_REGEX.matcher(string).matches();
    }
SemVer regex from semantic version spec.
@see <a href="https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string">SemVer</a>
smithy-model/src/main/java/software/amazon/smithy/model/transform/FilterDeprecatedRelativeVersion.java