class documentation

class DoubleTagPattern(SimpleTagPattern): (source)

View In Hierarchy

Return a ElementTree element nested in tag2 nested in tag1. Useful for strong emphasis etc.

Method handleMatch Return a ElementTree element from the given match.

Inherited from SimpleTagPattern:

Method __init__ Create an instant of an inline pattern.
Instance Variable tag Undocumented

Inherited from Pattern (via SimpleTagPattern):

Method getCompiledRegExp Return a compiled regular expression.
Method type Return class name, to define pattern type
Method unescape Return unescaped text given text with an inline placeholder.
Constant ANCESTOR_EXCLUDES Undocumented
Instance Variable compiled_re Undocumented
Instance Variable md Undocumented
Instance Variable pattern Undocumented
def handleMatch(self, m): (source)

Return a ElementTree element from the given match. Subclasses should override this method. Keyword arguments: * m: A re match object containing a match of the pattern.