def looks_like_xml(text):
    key = hash(text)
    try:
        return _looks_like_xml_cache[key]
    except KeyError:
        m = doctype_lookup_re.match(text)
        if m is not None:
            return True
        rv = tag_re.search(text[:1000]) is not None
        _looks_like_xml_cache[key] = rv
        return rv
Get the remote.$name.* configuration values as an object.
dataset/ETHPy150Open joeyb/joeyb-blog/externals/pygments/util.py/looks_like_xml--crossover with--dataset/ETHPy150Open android/tools_repo/git_config.py/GitConfig.GetRemote