On Fri, 04 Jul 2014 14:27:12 +0200, Florian Lindner wrote:
self.regexps = [rit (?Pcoupling_iterations\d+) .* dt complete yes |
write-iteration-checkpoint |,
rit (?Pit_read_ahead\d+) read ahead
My first thought is what is the effect of '|' as the last character in
the regex?
Hello,
I have that piece of code:
def _split_block(self, block):
cre = [re.compile(r, flags = re.MULTILINE) for r in self.regexps]
block = .join(block)
print(block)
print(---)
for regexp in cre:
match = regexp.match(block)
On 2014-07-04 13:27, Florian Lindner wrote:
Hello,
I have that piece of code:
def _split_block(self, block):
cre = [re.compile(r, flags = re.MULTILINE) for r in self.regexps]
block = .join(block)
print(block)
print(---)
for