@classmethod
def parse_text_version(cls, text):
    """Method which extracts latest number from the string.

        Empty string implies 0. No number also implies 0.

        :param str text: Line to search in.
        :return: Latest number
        :rtype: int
        """
    if not text:
        return 0
    matcher = cls.TEXT_VERSION_REGEXP.search(text)
    return int(matcher.group(0)) if matcher is not None else 0
