I am trying this.. what is wrong in this..
IDLE 1.2.2
>>> import re
>>> a="my name is fname lname"
>>> p=re.compile('name')
>>> m=p.match (a)
>>> print p.match(a)
None
findall() seems to work
>>> print p.findall(a)
['name', 'name', 'name']
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 27, 11:05 am, "John Salerno" <[EMAIL PROTECTED]> wrote:
> "python_enthu" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> >I am trying this.. what is wrong in this..
>
> > IDLE 1.2.2
> >>>> import