handle semver ranges that contain spaces