File "parser.cpython-36.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python36/lib64/python3.6/html/__pycache__/parser.cpython-36.pyc
File size: 10.92 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
3
fAE @ s d Z ddlZddlZddlZddlmZ dgZejdZejdZ ejdZ
ejdZejd Zejd
Z
ejdZejdZejd
ZejdejZejd
ZejdZG dd dejZdS )zA parser for HTML and XHTML. N)unescape
HTMLParserz[&<]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][^\t\n\r\f />\x00]*)(?:\s|/(?!>))*z]((?<=[\'"\s/])[^\s/>][^\s/=>]*)(\s*=+\s*(\'[^\']*\'|"[^"]*"|(?![\'"])[^>\s]*))?(?:\s|/(?!>))*aF
<[a-zA-Z][^\t\n\r\f />\x00]* # tag name
(?:[\s/]* # optional whitespace before attribute name
(?:(?<=['"\s/])[^\s/>][^\s/=>]* # attribute name
(?:\s*=+\s* # value indicator
(?:'[^']*' # LITA-enclosed value
|"[^"]*" # LIT-enclosed value
|(?!['"])[^>\s]* # bare value
)
(?:\s*,)* # possibly followed by a comma
)?(?:\s|/(?!>))*
)*
)?
\s* # trailing whitespace
z#</\s*([a-zA-Z][-.a-zA-Z0-9:_]*)\s*>c @ s e Zd ZdZd:ZddddZdd Zd
d Zdd
ZdZ dd Z
dd Zdd Zdd Z
dd Zd;ddZdd Zdd Zd d! Zd"d# Zd$d% Zd&d'