Table of Contents

Class: SubstitutionField qm/test/classes/file.py

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.

Base Classes   
qm.fields.TupleField
Methods   
GetHelp
__init__
  GetHelp 
GetHelp ( self )

  __init__ 
__init__ (
        self,
        name,
        **properties,
        )

Create a new SubstitutionField.

By default, the pattern and replacement string are empty.


Table of Contents

This document was automatically generated on Mon Jan 3 09:42:29 2005 by HappyDoc version 2.1