builtin regular expressions?

Jorge Godoy jgodoy at gmail.com
Sat Sep 30 17:52:37 CEST 2006

Duncan Booth <duncan.booth at invalid.invalid> writes:

> Or you could make it even clearer by using a loop:

Oops.  Should have read your message before replying to Mirco.  But again,
since the OP didn't read the docs for string operations I tried the terse
approach so that he actually sees the correspondence from Perl to Python. 

Dictionaries (and hashes in Perl) are very powerful and solve very interesting
problems (specially when one is looking for something like a "case"
implementation in Python). 

Jorge Godoy      <jgodoy at gmail.com>

More information about the Python-list mailing list