Fixed regex of version string parsing