class documentation
        
        class StripRule(RegexpChunkRule): (source)
Constructor: StripRule(tag_pattern, descr)
A rule specifying how to remove strips to a ChunkString, using a matching tag pattern. When applied to a ChunkString, it will find any substring that matches this tag pattern and that is contained in a chunk, and remove it from that chunk, thus creating two new chunks.
| Method | __init__ | Construct a new StripRule. | 
| Method | __repr__ | Return a string representation of this rule. It has the form: | 
| Instance Variable | _pattern | Undocumented | 
              Inherited from RegexpChunkRule:
            
| Static Method | fromstring | Create a RegexpChunkRule from a string description. Currently, the following formats are supported: | 
| Method | apply | Apply this rule to the given ChunkString. See the class reference documentation for a description of what it means to apply a rule. | 
| Method | descr | Return a short description of the purpose and/or effect of this rule. | 
| Instance Variable | _descr | Undocumented | 
| Instance Variable | _regexp | Undocumented | 
| Instance Variable | _repl | Undocumented | 
Construct a new StripRule.
| Parameters | |
| tag | This rule's tag pattern. When applied to a ChunkString, this rule will find any substring that matches this tag pattern and that is contained in a chunk, and remove it from that chunk, thus creating two new chunks. | 
| descr:str | A short description of the purpose and/or effect of this rule. |