[Tutor] Regex's and "best practice"

Karl Pflästerer sigurd at 12move.de
Sat Nov 22 18:14:35 EST 2003


On 22 Nov 2003, Gerrit Holl <- gerrit at nl.linux.org wrote:

> You may want to use an entirely different approach to the problem.
> You don't need regular expressions at all. A number of high-level

That may be.  But if you need performance for a simple task then regexps
can be the right tool.


[...]
> library documentation. They are very useful modules. You don't
> need any regular expression. I myself tend to avoid them as much
> of possible, but Perl has a different philosophy ;). What you are

I won't say that in Python you should avoid regexps.  You may only need
them less as in Perl.  But here they seem perfectly right.


   Karl
-- 
Please do *not* send copies of replies to me.
I read the list




More information about the Tutor mailing list