re.sub and named groups

Rhodri James rhodri at wildebst.demon.co.uk
Wed Feb 11 18:53:33 EST 2009


On Wed, 11 Feb 2009 21:05:53 -0000, Paul McGuire <ptmcg at austin.rr.com>  
wrote:

> On Feb 4, 10:51 am, "Emanuele D'Arrigo" <man... at gmail.com> wrote:
>> Hi everybody,
>>
>> I'm having a ball with the power of regular expression
>
> Don't forget the ball you can have with the power of ordinary Python
> strings, string methods, and string interpolation!

So the moral of this story is take a ball of strings with you for
when you get lost in regular expressions.


-- 
Rhodri James *-* Wildebeeste Herder to the Masses



More information about the Python-list mailing list