Think Pragmatic!

Rubber ducking about stuff.

Python e regular expression

Scritto il 07/06/2009 da Alessandro Martin.    

Letto oggi sul newsgroup comp.lang.python:

Thank goodness regexs are an “extra” in Python, because it discourages noobs from pulling out the 80 pound sledgehammer of the regex engine to crack the peanut of a test-and-concatenate — Steven D’aprano

Il che mi ricorda un’altra grande perla di saggezza:

Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems. — Jamie Zawinski

E per concludere, un classico del genere: regular expression

python regular expression