How to insert string in each match using RegEx iterator

Aahz aahz at pythoncraft.com
Fri Jun 12 16:23:24 EDT 2009


In article <dc53c432-e9f5-49b6-a9a7-6e944c853da1 at n4g2000vba.googlegroups.com>,
504crank at gmail.com <504crank at gmail.com> wrote:
>
>MRI scans would no doubt reveal that people who attain a mastery of
>RegEx expressions must have highly developed areas of the brain. I
>wonder where the RegEx part of the brain might be located.

You want Friedl:
http://www.powells.com/biblio/2-9780596528126-0
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer



More information about the Python-list mailing list