Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Module FileUtils :: Class FindAndReplace |
|
Find and replace all instances of 'patternOrRE' with 'replacement' for each file in the 'files' list. This is a multi-file version of re.sub(). 'patternOrRE' can be a raw regex pattern or a regex object as generated by the re module. 'replacement' can be any string that would work with patternOrRE.sub(replacement, fileContents).
Method Summary | |
---|---|
__init__(self,
files,
patternOrRE,
replacement,
recordResults)
| |
results(self)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:17 2003 | http://epydoc.sf.net |