def METHOD_NAME(parseroutput):
    if parseroutput is not None:
        parts = parseroutput.split(":")
        pattern = "".join(parts[1:])
        path = parts[0]
        print("Extracting jobs with tag:\'{}\' and valuepattern:\'{}\''".format(
            path, pattern))
        return[path, pattern]
    else:
        return []