Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #74003

Re: Why is regexp not working?

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: Why is regexp not working?
Date 2014-07-06 02:58 +0000
Organization A noiseless patient Spider
Message-ID <lpadvq$6rc$6@dont-email.me> (permalink)
References <mailman.11488.1404476856.18130.python-list@python.org>

Show all headers | View raw


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@gmail.com

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Why is regexp not working? Florian Lindner <mailinglists@xgm.de> - 2014-07-04 14:27 +0200
  Re: Why is regexp not working? Denis McMahon <denismfmcmahon@gmail.com> - 2014-07-06 02:58 +0000

csiph-web