Changing version number recognition method.