Definition at line 504 of file GaudiTest.py.
def GaudiTest.RegexpReplacer.__init__ |
( |
|
self, |
|
|
|
orig, |
|
|
|
repl = "" , |
|
|
|
when = None |
|
) |
| |
Definition at line 505 of file GaudiTest.py.
507 when = re.compile(when)
def __init__(self, orig, repl="", when=None)
def GaudiTest.RegexpReplacer.__add__ |
( |
|
self, |
|
|
|
rhs |
|
) |
| |
Definition at line 510 of file GaudiTest.py.
511 if isinstance(rhs, RegexpReplacer):
513 res._operations = self.
_operations + rhs._operations
515 res = FilePreprocessor.__add__(self, rhs)
def GaudiTest.RegexpReplacer.__processLine__ |
( |
|
self, |
|
|
|
line |
|
) |
| |
Definition at line 518 of file GaudiTest.py.
520 if w
is None or w.search(line):
521 line = o.sub(r, line)
def __processLine__(self, line)
GaudiTest.RegexpReplacer._operations |
|
private |
The documentation for this class was generated from the following file: