Is Perl *that* good?
peter at engcorp.com
Tue Apr 27 16:03:16 CEST 2004
Roy Smith wrote:
> I don't see anything in the reference manual which says re.match()
> caches compilations, but I suspect it does. Even a trivial check for
> "thisRegEx is lastRegEx" would be sufficient to negate the speed
> advantage of pre-compiling in most cases. Anybody know if it does this?
Found after trying a half dozen different searches. (Short answer: yes.)
More information about the Python-list