View file File name : markupbase.pyc Content :� zfc @ s} d Z d d l Z e j d � j Z e j d � j Z e j d � Z e j d � Z e j d � Z [ d d d � � YZ d S( s� Shared support for scanning document type declarations in HTML and XHTML. This module is used as a foundation for the HTMLParser and sgmllib modules (indirectly, for htmllib as well). It has no documented public API and should not be used directly. i����Ns [a-zA-Z][-_.a-zA-Z0-9]*\s*s (\'[^\']*\'|"[^"]*")\s*s --\s*>s ]\s*]\s*>s ]\s*>t ParserBasec B s� e Z d Z d � Z d � Z d � Z d � Z d � Z d Z d � Z d d � Z d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( si Parser base class which provides some common support methods used by the SGML/HTML and XHTML parsers.c C s"