[Tutor] re.findall(), but with overlaps?

Kent Johnson kent37 at tds.net
Sat Sep 3 19:42:21 CEST 2005

Terry Carroll wrote:
> On Sat, 3 Sep 2005, Kent Johnson wrote:
>>AFAIK that is the way to do it.
> I may put in an enhancement request to change the name of re.findall to 
> re.findsome.

Or maybe findnonoverlapping. But I would say your chances of getting the name changed are slim to none, the Python developers are extremely reluctant to make changes that break existing code. You might want to suggest aliasing findall instead of replacing it.


More information about the Tutor mailing list