In article <mailman.6761.1231368863.3487.python-l...@python.org>, Ken D'Ambrosio <ken.dambro...@segway.com> wrote: > >Hi, all. As a recovering Perl guy, I have to admit I don't quite "get" >the re module.
Refer to the following every time you want to use regexes in Python: 'Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.' --Jamie Zawinski, comp.emacs.xemacs, 8/1997 Although there are times when regexes are your best option, Python has many other good options for processing strings, and your code readability will usually increase if you try one of them first. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. -- http://mail.python.org/mailman/listinfo/python-list