RE Module Performance

Devyn Collier Johnson devyncjohnson at
Fri Jul 12 01:44:05 CEST 2013

I recently saw an email in this mailing list about the RE module being 
made slower. I no long have that email. However, I have viewed the 
source for the RE module, but I did not see any code that would slow 
down the script for no valid reason. Can anyone explain what that user 
meant or if I missed that part of the module?

Can the RE module be optimized in any way or at least the "re.sub" portion?


Devyn Collier Johnson
DevynCJohnson at

More information about the Python-list mailing list