Logo Search packages:      
Sourcecode: aap version File versions

aap-1.090::aapre::RegexObject Class Reference

List of all members.

Detailed Description

Holds a compiled regular expression pattern.

match    Match the pattern to the beginning of a string.
search   Search a string for the presence of the pattern.
sub      Substitute occurrences of the pattern found in a string.
subn     Same as sub, but also return the number of substitutions made.
split    Split a string by the occurrences of the pattern.
findall  Find all occurrences of the pattern in a string.

Definition at line 264 of file aapre.py.

Public Member Functions

def __getinitargs__
def __getstate__
def __init__
def __setstate__
def findall
def match
def search
def split
def sub
def subn

Public Attributes


Private Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index