re.match
Michael P. Soulier
msoulier at nortelnetworks.com
Tue Mar 20 10:22:55 EST 2001
Hey people. Could someone explain the purpose of the match function in the
re module? If it's only difference from search is to match at the beginning of
the line, why does it exist? That's what the ^ in the regexp is for.
Thanks,
Mike
--
Michael P. Soulier, TD12, SKY Tel: 613-765-4699 (ESN: 39-54699)
Optical Networks, Nortel Networks, SDE Pegasus
"With sufficient thrust, pigs fly just fine. However, this is not necessarily a
good idea. It is hard to be sure where they are going to land, and it could be
dangerous sitting under them as they fly overhead." -- RFC 1925
Nortel Linux User's Group Ottawa: (internal) http://nlug.ca.nortel.com
More information about the Python-list
mailing list