fix regexp to abstract version string.