Class
docutils.statemachine._SearchOverride

Mix-in class to override StateMachine regular expression behavior.

Changes regular expression matching, from the default re.match() (succeeds only if the pattern matches at the start of self.line) to re.search() (succeeds if the pattern matches anywhere in self.line). When subclassing a StateMachine, list this class first in the inheritance list of the class definition.

Base classes

There are no base classes.

Implemented Interfaces

There are no implemented interfaces.

Attributes/Properties

There are no attributes in this class.

Methods

Known Subclasses