Home | Trees | Indices | Help |
---|
|
object --+ | fields.Field --+ | fields.TupleField --+ | SubstitutionField
A rule for performing a text substitution.
A 'SubstitutionField' consists of a regular expression pattern and a corresponding replacement string. When the substitution is applied to a body of text, all substrings that match the pattern are replaced with the substitution string.
The syntax for the regular expression and the substitution string is that of the standard Python 're' (regular expression) module.
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Create a new 'SubstitutionField'. By default, the pattern and replacement string are empty.
|
Generate help text about this field in structured text format.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Dec 16 22:13:43 2008 | http://epydoc.sourceforge.net |