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


Groups > comp.lang.python > #74003

Re: Why is regexp not working?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: Why is regexp not working?
Date Sun, 6 Jul 2014 02:58:02 +0000 (UTC)
Organization A noiseless patient Spider
Lines 11
Message-ID <lpadvq$6rc$6@dont-email.me> (permalink)
References <mailman.11488.1404476856.18130.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Sun, 6 Jul 2014 02:58:02 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="66ffcfa4470a58bcddbdcd1913f98ab4"; logging-data="7020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+KJffhXkbJAK45ju20JnTjs4tORjMp3e0="
User-Agent Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2)
Cancel-Lock sha1:mxGnTtU4dnrdLJ4NdFrglFF7Z/U=
Xref csiph.com comp.lang.python:74003

Show key headers only | 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