But then major would return the string when it's an invalid version.