

def html_to_list(html):
    pattern = re.compile('&.*?;|(?:<[^<]*?>)|(?:\\w[\\w-]*[ ]*)|(?:<[^<]*?>)|(?:\\s*[,\\.\\?]*)', re.UNICODE)
    return [''.join(element) for element in [_f for _f in pattern.findall(html) if pattern]]

dataset/ETHPy150Open dominno/django-moderation/moderation/diff.py html_to_list/VarMisuse@46/89 `_f`->`pattern`