Iterating across a filtered list

Paul Rubin http
Tue Mar 13 15:36:53 EDT 2007


"Arnaud Delobelle" <arnodel at googlemail.com> writes:
> in the for loop.  Moreover you recalculate the regexp for each element
> of the list.

The re library caches the compiled regexp, I think.



More information about the Python-list mailing list