| Home | Trees | Index | Help |
|
|---|
| Package docutils :: Module statemachine :: Class _SearchOverride |
|
SearchStateMachine,
SearchStateMachineWSMix-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.
| Method Summary | |
|---|---|
Return the result of a regular expression search. | |
| Method Details |
|---|
match(self, pattern)Return the result of a regular expression search. Overrides Parameter |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Tue Jul 22 05:30:51 2003 | http://epydoc.sf.net |