Why is regexp not working?

Denis McMahon denismfmcmahon at gmail.com
Sun Jul 6 04:58:02 CEST 2014


On Fri, 04 Jul 2014 14:27:12 +0200, Florian Lindner wrote:

> self.regexps = [r"it (?P<coupling_iterations>\d+) .* dt complete yes |
> write-iteration-checkpoint |",
>                 r"it (?P<it_read_ahead>\d+) read ahead"

My first thought is what is the effect of '|' as the last character in 
the regex?

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list