|
list | __all__ = ["SGMLParser", "SGMLParseError"] |
|
| interesting = re.compile('[&<]') |
|
| incomplete |
|
| entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]') |
|
| charref = re.compile('&#([0-9]+)[^0-9]') |
|
| starttagopen = re.compile('<[>a-zA-Z]') |
|
| shorttagopen = re.compile('<[a-zA-Z][-.a-zA-Z0-9]*/') |
|
| shorttag = re.compile('<([a-zA-Z][-.a-zA-Z0-9]*)/([^/]*)/') |
|
| piclose = re.compile('>') |
|
| endbracket = re.compile('[<>]') |
|
| tagfind = re.compile('[a-zA-Z][-_.a-zA-Z0-9]*') |
|
| attrfind |
|
A parser for SGML, using the derived class as a static DTD.