[Python-Dev] other "magic strings" issues
Aahz
aahz at pythoncraft.com
Fri Nov 7 17:09:01 EST 2003
On Fri, Nov 07, 2003, Martin v. Löwis wrote:
> Thomas Heller <theller at python.net> writes:
>>
>> But there are probably more useful combinations like
>>
>> string.letters + string.digits + "_"
>
> I think the typical application of this should use regular expressions
> instead.
Ick:
'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
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
More information about the Python-Dev
mailing list