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

Srikanth smandava at cosinecom.com
Tue Aug 6 03:37:09 CEST 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