[Python-Dev] defaultdict and on_missing()
Guido van Rossum
guido at python.org
Thu Mar 2 16:59:23 CET 2006
More information about the Python-Dev mailing list
Thu Mar 2 16:59:23 CET 2006
- Previous message: [Python-Dev] defaultdict and on_missing()
- Next message: [Python-Dev] defaultdict and on_missing()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 3/2/06, Barry Warsaw <barry at python.org> wrote: > On Thu, 2006-03-02 at 07:26 -0800, Aahz wrote: > > OTOH, my personal style is to always use re.compile() because I can > > never remember the order of arguments for re.match()/re.search(). > > Agreed. I don't have that problem, because the order is the same either way: re.compile(pattern).match(line) re.match(pattern, line) :-) -- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] defaultdict and on_missing()
- Next message: [Python-Dev] defaultdict and on_missing()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list