[Tutor] string matching
Tesla Coil
tescoil@irtc.net
Thu, 15 Mar 2001 22:50:06 -0500
On 15 Mar 2001, Cruiser wrote:
> I got a problem using Regex module, i.e. object.match
> (string) method, in which object is a compiled regular
> expression pattern, string is a string with multiple
> lines (up to 6 pages!). This method can not find
> any pattern except that on the first line, while
> object.search(string) is working just fine!
Sounds like the difference between match and search.
See:
http://py-howto.sourceforge.net/regex/node22.html