def METHOD_NAME(output, key):
    """
    Find a key in the output and return its value.
    """
    matches = re.search("^%s=(.*)" % key, output, re.MULTILINE)
    if matches:
        return matches.groups()[0]
    return None