SemVer range check

Check whether a semantic version satisfies common range expressions.