Python script to optimize XML text
gagsl-py2 at yahoo.com.ar
Tue Sep 25 22:40:20 CEST 2007
En Tue, 25 Sep 2007 11:43:03 -0300, Robert Dailey <rcdailey at gmail.com>
> Thanks for everyone's input. I wanted to learn regular expressions,
> I'm finding them to be quite evil. I think I've learned that it's always
> good idea to make regex a very LAST resort. This is my opinion I'm
> developing on. In any case, I like the ideas mentioned here concerning
> the XML parser to do the job for me. Thanks again everyone, I think I'll
> going with the XML parser to do what I need.
So you get by yourself to the truth of this famous quote:
Some people, when confronted with a problem, think
“I know, I'll use regular expressions.” Now they have two problems.
More information about the Python-list