[Tutor] re.findall vs. re.search and re.match
Kent Johnson
kent37 at tds.net
Tue Mar 15 17:31:21 CET 2005
Ron Nixon wrote:
> Thanks to all who replied to my post earlier on re's.
> I'm still preplexed by why re.search and re.match
> works in the code below, but not re.findall.
> re.findall is suppose to return all non-voerlapping
> occurances of the pattern that matches in this
> example, but it returns errors. Looking through the
> docs and from what I can see it should work. Can
> anyone provide advice.
Please show the code that uses re.findall() and the error you receive when you run it.
Kent
More information about the Tutor
mailing list