A vote for re scanner

Fredrik Lundh fredrik at pythonware.com
Sun Nov 16 21:37:02 CET 2003


Alex Martelli wrote:

> >> ...if that method's name was 'next' (and an appropriate __iter__
> >> also present) it might be even cooler, though...
> >
> > re.finditer
>
> Yep.  So the scanner isn't warranted any longer, right?

if you remove it, you'll break re.Scanner.

</F>








More information about the Python-list mailing list