The Regex Story

Stefan Behnel stefan_ml at behnel.de
Fri Apr 9 07:18:56 EDT 2010


Tim Chase, 08.04.2010 16:23:
> Lie Ryan wrote:
>> Why am I seeing a lot of this pattern lately:
>>
>> OP: Got problem with string
>> +- A: Suggested a regex-based solution
>> +- B: Quoted "Some people ... regex ... two problems."
>>
>> or
>>
>> OP: Writes some regex, found problem
>> +- A: Quoted "Some people ... regex ... two problems."
>> +- B: Supplied regex-based solution, clean one
>> +- A: Suggested PyParsing (or similar)
>
> There are some problem-classes for which regexps are the *right*
> solution, and I don't see as much of your example dialog in those cases.

Obviously. People rarely complain about problems that are easy to solve 
with the solution at hand.

Stefan




More information about the Python-list mailing list