Definition at line 464 of file GaudiTest.py.
def GaudiTest.RegexpReplacer.__init__ |
( |
|
self, |
|
|
|
orig, |
|
|
|
repl = "" , |
|
|
|
when = None |
|
) |
| |
Definition at line 465 of file GaudiTest.py.
467 when = re.compile(when)
def __init__(self, orig, repl="", when=None)
def GaudiTest.RegexpReplacer.__add__ |
( |
|
self, |
|
|
|
rhs |
|
) |
| |
Definition at line 469 of file GaudiTest.py.
470 if isinstance(rhs, RegexpReplacer):
472 res._operations = self.
_operations + rhs._operations
474 res = FilePreprocessor.__add__(self, rhs)
def GaudiTest.RegexpReplacer.__processLine__ |
( |
|
self, |
|
|
|
line |
|
) |
| |
Definition at line 476 of file GaudiTest.py.
478 if w
is None or w.search(line):
479 line = o.sub(r, line)
def __processLine__(self, line)
GaudiTest.RegexpReplacer._operations |
|
private |
The documentation for this class was generated from the following file: