how to do exact match for all characters using re.match()

Srikanth smandava at cosinecom.com
Mon Aug 5 21:37:09 EDT 2002


Hi,

I'm using the method re.match(<regex>, string) to find a match. But I
want all characters of <string> to match the regex. I'm getting a
match if 0 or more characters are a match. Is there a way to make the
whole string match the regex?

Thanks
Srikanth



More information about the Python-list mailing list