stringify semver pattern for requested version