All,
If I have something like this:
import re
sample = 'myboss:isbad'
express = re.compile('(.*):(.*))
answer = re.match(express,sample)

how do I get it to  tell me if it was a match or not. I have tried 
answer.match . It just gives me an object pointer or something.

Thanks
Python Newbie...



_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to