Message54970
http://www.python.org/doc/2.5/lib/node46.html has
compile(pattern[, flags])
Compile a regular expression pattern into a regular expression object, which can be used for matching using its match() and search() methods, described below.
This could be read as implying that the regular expression object can ONLY be used for matching using the match() and search() methods.
In fact, I believe it can be used wherever "pattern" is mentioned.
|
|
Date |
User |
Action |
Args |
2007-08-23 16:12:26 | admin | link | issue1630515 messages |
2007-08-23 16:12:26 | admin | create | |
|