class documentation

class SimpleTextPattern(Pattern): (source)

View In Hierarchy

Return a simple text of group(2) of a Pattern.

Method handleMatch Return a ElementTree element from the given match.

Inherited from Pattern:

Method __init__ Create an instant of an inline pattern.
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.