GCGPattern keeps track of a parsed version of a user-supplied
regular expression.
Methods
|
|
__init__
findNext
findPrevious
search
|
|
__init__
|
__init__ ( self, expression )
|
|
findNext
|
findNext (
self,
s,
first=0,
ignoreGap=0,
)
|
|
findPrevious
|
findPrevious (
self,
s,
last=-1,
ignoreGap=0,
)
|
|
search
|
search (
self,
s,
first=0,
last=-1,
ignoreGap=0,
)
|
|