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


Groups > comp.lang.python > #34762

Re: Using regexes versus "in" membership test?

References <56f4fbf5-36e6-40d0-b832-e29f8a67190b@googlegroups.com> <50c92acd$0$29972$c3e8da3$5496439d@news.astraweb.com> <a56c17dc-271e-44c7-bc3f-246366383817@googlegroups.com> <mailman.822.1355379600.29569.python-list@python.org> <d685de14-5cd2-432e-a236-69daa5358f44@googlegroups.com>
Date 2012-12-13 17:38 +1100
Subject Re: Using regexes versus "in" membership test?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.824.1355380727.29569.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Dec 13, 2012 at 5:35 PM, Victor Hooi <victorhooi@gmail.com> wrote:
> Heya,
>
> See my original first post =):
>

Oops! Mea culpa. Yes, you did say that. And then definitely, if it's a
one-keyword search for each and then the regex to parse, that would be
much more efficient than using the regex to pick lines.

Sorry! I didn't read it properly.

ChrisA

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


Thread

Using regexes versus "in" membership test? Victor Hooi <victorhooi@gmail.com> - 2012-12-12 14:35 -0800
  Re: Using regexes versus "in" membership test? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-12-13 01:09 +0000
    Re: Using regexes versus "in" membership test? Victor Hooi <victorhooi@gmail.com> - 2012-12-12 22:10 -0800
      Re: Using regexes versus "in" membership test? Chris Angelico <rosuav@gmail.com> - 2012-12-13 17:19 +1100
        Re: Using regexes versus "in" membership test? Victor Hooi <victorhooi@gmail.com> - 2012-12-12 22:35 -0800
          Re: Using regexes versus "in" membership test? Chris Angelico <rosuav@gmail.com> - 2012-12-13 17:38 +1100
        Re: Using regexes versus "in" membership test? Victor Hooi <victorhooi@gmail.com> - 2012-12-12 22:35 -0800

csiph-web