[Tutor] Python re without string consumption
Jacob Abraham
jakieabraham at yahoo.com
Thu Jan 25 07:11:15 CET 2007
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/
More information about the Tutor
mailing list