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.
Methods
|
|
GetHelp
__init__
|
|
GetHelp
|
GetHelp ( self )
|
|
__init__
|
__init__ (
self,
name,
**properties,
)
Create a new SubstitutionField .
By default, the pattern and replacement string are empty.
|
|