Help: re.match puzzle

Chermside, Michael mchermside at ingdirect.com
Tue Mar 18 15:55:38 EST 2003


re.match() only returns true if the pattern matches AT THE BEGINNING 
OF THE STRING. You probably want re.search() instead. See the docs
for re module.

-- Michael Chermside






More information about the Python-list mailing list