ruạṛ
3 AL�i:M � @ s d Z ddlmZmZmZmZ ddlT ddlmZ ddl Z ddl Z e jd�Ze jd�Z e jd�Ze jd �Ze jd �Ze jd�Ze jd�Ze jd �Ze jd�Ze jd�Ze jd�Ze jde j�Ze jde j�Ze jd�Ze jd�ZG dd� de�ZG dd� dej�ZdS )zLA parser for HTML and XHTML. Backported for python-future from Python 3.3. � )�absolute_import�division�print_function�unicode_literals)�*)�_markupbaseNz[&<]z &[a-zA-Z#]z%&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]z)&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]z <[a-zA-Z]�>z--\s*>z(([a-zA-Z][-.a-zA-Z0-9:_]*)(?:\s|/(?!>))*z[a-zA-Z][^ />