def html_doctype_matches(text):
    return doctype_matches(text, r'html\s+PUBLIC\s+"-//W3C//DTD X?HTML.*')
Transform an expression into a multinomial form and figure out generators.
dataset/ETHPy150Open joeyb/joeyb-blog/externals/pygments/util.py/html_doctype_matches--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/polys/polyutils.py/_dict_from_expr_no_gens