[Tutor] wiki madness grows one you like a brain fungus [regex refinements, re.sub() can take in a subst. function]

Kirk Bailey idiot1 at netzero.net
Mon Aug 11 13:17:26 EDT 2003


IN fact, I did indeed just place an order with amazon for 'Textprocessing in 
Python" as it is language specific, addresses re rather well according to opion 
and review, and also covers other non re aspects of mangling text in the 
language of choice.

With any luck, it will even contain some silly skits and jokes in the examples, 
although that's hoping for a bit much. As for dead parrots, all mine are alive, 
and one is shitting on my sholder right now.

Um, or is that SITTING?

nope... oh, well, it needed changing anyway. Let's go, tinybird...


Clay Shirky wrote:

>>Maybe Kirk should consider to buy David Mertz new "Textprocessing an
>>Python".
> 
> 
> +1 this (instead of Mastering Regular Expressions.)
> 
> The problem with Friedl's book, and the culture of regexes in general, is
> that it leads to applying regexes to problems better worked out with any
> thing from splits() to formal parsers.
> 
> As jwz put it "A lot of people, when they have a problem, think 'I know,
> I'll use regular expressions!' Now they have two problems."
> 
> -clay
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 
> 

-- 

-- 

end

Cheers!
         Kirk D Bailey

  +                              think                                +
   http://www.howlermonkey.net  +-----+        http://www.tinylist.org
   http://www.listville.net     | BOX |  http://www.sacredelectron.org
   Thou art free"-ERIS          +-----+     'Got a light?'-Promethieus
  +                              think                                +

Fnord.




More information about the Tutor mailing list