Regular Expressions: large amount of or's

André Søreng andreis at stud.cs.uit.no
Wed Mar 2 06:50:01 EST 2005


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.



More information about the Python-list mailing list