Dennis Lee Bieber schrieb:
Is "[ ( name, regex ), ... ]" really "simpler" than "{ name: regex, ... }"? Intuitively, I would consider the dictionary to be the simpler structure.
Why, when you aren't /using/ the name to retrieve the expression...
So as soon as I start retrieving a regex by its name, the dict will be the most suitable structure?
Greetings, Thomas -- Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison! (Coluche) -- http://mail.python.org/mailman/listinfo/python-list