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/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4