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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to