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


Groups > comp.lang.python > #7817

Re: Composing regex from a list

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From TheSaint <nobody@nowhere.net.no>
Newsgroups comp.lang.python
Subject Re: Composing regex from a list
Followup-To comp.lang.python
Date Fri, 17 Jun 2011 19:45:16 +0800
Organization Aioe.org NNTP Server
Lines 12
Message-ID <itfeof$ddp$1@speranza.aioe.org> (permalink)
References <itcu3f$b1k$1@speranza.aioe.org> <4dfa007f$0$30002$c3e8da3$5496439d@news.astraweb.com>
NNTP-Posting-Host ecFDtfka4Xyf0mNcnbhS3Q.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Complaints-To abuse@aioe.org
User-Agent KNode/4.4.11
X-Notice Filtered by postfilter v. 0.8.2
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7817

Followups directed to: comp.lang.python

Show key headers only | View raw


Steven D'Aprano wrote:

> def compile_alternatives(*args):

Thank you all, for these good points. For my eyes seem that explicit or 
implicit it will take some looping to concatenate the list elements into a 
string.

I will see pypy later.

-- 
goto /dev/null

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


Thread

Composing regex from a list TheSaint <nobody@nowhere.net.no> - 2011-06-16 20:48 +0800
  Re: Composing regex from a list Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-16 13:09 +0000
    Re: Composing regex from a list TheSaint <nobody@nowhere.net.no> - 2011-06-17 19:45 +0800
  Re: Composing regex from a list Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-06-16 15:25 +0200

csiph-web