Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #17215
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news-transit.tcx.org.uk!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <vlastimil.brom@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.057 |
| X-Spam-Evidence | '*H*': 0.89; '*S*': 0.00; '(it': 0.09; 'underlying': 0.09; 'algorithm': 0.13; 'example.': 0.18; 'expansion': 0.18; 'header:In-Reply-To:1': 0.22; 'subject:group': 0.23; 'subject: : ': 0.25; 'url:mailman': 0.28; 'message-id:@mail.gmail.com': 0.28; 'alternatives': 0.29; 'feature,': 0.30; 'subject:skip:i 10': 0.30; 'thanks': 0.31; "didn't": 0.31; 'hi,': 0.32; 'list': 0.32; 'url:listinfo': 0.32; 'received:209.85.161.46': 0.32; 'received :mail-fx0-f46.google.com': 0.32; 'to:addr:python-list': 0.34; 'keys': 0.34; 'url:python': 0.36; 'received:209.85.161': 0.36; 'but': 0.37; 'reference': 0.37; 'received:google.com': 0.37; 'could': 0.37; 'hoping': 0.38; 'received:209.85': 0.38; 'url:org': 0.39; 'received:209': 0.40; 'to:addr:python.org': 0.40; 'offers': 0.61; 'candide': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EmNYg0HOjZbJggHebKOceOsgxnQiiWm0/HAArm53dts=; b=W0q85Ubc7jhcl3jQmDDt/omMGKUlvbt6Yny1XO81t6jBuoGl954kmvGn+m5wH1dh6Z CKWd5Sis7E6SwLmbw8EYD2VW3jCY719DWR0S3MS4u69QLX0Ebd+mQk40Yx5BBj70xnGJ I+0n7wOj0yWEUnNMDZCmC+EXBVKw8LRhR5XXc= |
| MIME-Version | 1.0 |
| In-Reply-To | <4ee89d3d$0$7725$426a74cc@news.free.fr> |
| References | <4ee88488$0$27871$426a74cc@news.free.fr> <mailman.3635.1323862458.27778.python-list@python.org> <4ee89d3d$0$7725$426a74cc@news.free.fr> |
| Date | Wed, 14 Dec 2011 14:38:36 +0100 |
| Subject | Re: Regexp : repeated group identification |
| From | Vlastimil Brom <vlastimil.brom@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3643.1323869918.27778.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1323869918 news.xs4all.nl 6863 [2001:888:2000:d::a6]:54310 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:17215 |
Show key headers only | View raw
2011/12/14 candide <candide@free.invalid>: ... > > Thanks for the reference and the example. I didn't know of this > reimplementation, hoping it offers the Aho-Corasick algorithm allowing > multiple keys search. > -- > http://mail.python.org/mailman/listinfo/python-list Hi, I am not sure about the underlying algorithm (it could as well be an internal expansion of the alternatives like ...|...|...), but you can use a list (set, actually) of alternatives to search for. check the "named lists" feature, \L<...> hth, vbr
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Regexp : repeated group identification candide <candide@free.invalid> - 2011-12-14 12:12 +0100
Re: Regexp : repeated group identification Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-12-14 12:34 +0100
Re: Regexp : repeated group identification candide <candide@free.invalid> - 2011-12-14 13:57 +0100
Re: Regexp : repeated group identification Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-12-14 14:38 +0100
csiph-web