roy at panix.com
Sat Dec 7 04:53:07 CET 2013
In article <mailman.3695.1386386415.18130.python-list at python.org>,
Dan Stromberg <drsalists at gmail.com> wrote:
> A lot of things people do with regex's, could be done with string methods
> more clearly and concisely.
That is true. The problem is, there are a lot of things for which regex
is the right tool, but people get out of practice using them (or never
learned how) because they gravitate to string methods for most tasks.
It's like any sharp tool. When skillfully handled, they're excellent at
the tasks they were designed for. But, if you don't practice the
necessary skills, you end up just re-enacting the Black Night Sketch.
More information about the Python-list