[EMAIL PROTECTED] wrote:

>>
>> And wastes time. regular expressions can become expensive to match -
>> doing it twice might be hurtful.
>>
>> Diez
> 
> match = (my_re1.match(line) or my_re2.match(line)) or
> my_re3.match(line)

How do you know *which* of the three has matched then?

Diez
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to