def _GetVersionFromStr(self, lines: str) -> str:
    ver = None
    for line in lines:
        line = line.strip()
        if (config.CONFIGURATION['Update']['Find'] in line):
            ver = line[len(config.CONFIGURATION['Update']['Find']):].strip('"')
    match = re.match('\\d+\\.\\d+\\.\\d+', ver)
    if match:
        return ver[match.start():match.end()]
    return None
def _GetVersionFromStr(self, lines: str) -> str:
    ver = None
    for line in lines:
        line = line.strip()
        if (config.CONFIGURATION['Update']['Find'] in line):
            ver = line[len(config.CONFIGURATION['Update']['Find']):].strip('"')
    match = re.match('\\d+\\.\\d+\\.\\d+', ver)
    if match:
        return ver[match.start():match.end()]
    return None