Regular Expressions: large amount of or's
Gurpreet Sachdeva
gurpreet.sachdeva at gmail.com
Wed Mar 2 07:15:46 EST 2005
Can divide the regex on the bases of alphabets they are starting with
or can iterate on the list.
Regards,
Garry
http://garrythegambler.blogspot.com/
On Wed, 02 Mar 2005 12:50:01 +0100, André Søreng <andreis at stud.cs.uit.no> wrote:
> Ola Natvig wrote:
> > André Søreng wrote:
> >
> >>
> >>
> >> Yes, but I was looking for a solution which would scale. Searching
> >> through the same string 10000+++ times does not seem like a suitable
> >> solution.
> >>
> >> André
> >
> >
> > Just for curiosity, what would a regexp do? Perhaps it's a clue in how
> > you could do this in the way regexp's are executed.
> >
> > ola
> >
>
> I think this article provides me with what I was looking for:
>
> http://alexandria.tue.nl/extra1/wskrap/publichtml/200407.pdf
>
> Enough info there to keep me going for some while.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Thanks and Regards,
GSS
More information about the Python-list
mailing list