Re: [Tutor] regExpress

2005-10-05 Thread Eric Walker
Thanks so much Kent.. Eric ... --- Kent Johnson <[EMAIL PROTECTED]> wrote: > Eric Walker wrote: > > 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

Re: [Tutor] regExpress

2005-10-05 Thread Kent Johnson
Eric Walker wrote: > 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 som