Dear Tutors,

   I'm having a little trouble while using the re module.

eg

>>> import re
>>> re.findall("abca", "abcabcabca")
["abca", "abca"]

While I am expecting.

["abca", "abca", "abca"]

How do I modify my regular expression to do the same.

Thanks for the help.

Regards,
Jacob Abraham




 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to