C-like assignment expression?

cokofreedom at gmail.com cokofreedom at gmail.com
Wed May 21 09:43:59 EDT 2008


>
> 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)

?



More information about the Python-list mailing list