Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #17215
| References | <4ee88488$0$27871$426a74cc@news.free.fr> <mailman.3635.1323862458.27778.python-list@python.org> <4ee89d3d$0$7725$426a74cc@news.free.fr> |
|---|---|
| Date | 2011-12-14 14:38 +0100 |
| Subject | Re: Regexp : repeated group identification |
| From | Vlastimil Brom <vlastimil.brom@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3643.1323869918.27778.python-list@python.org> (permalink) |
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