A vote for re scanner

Fredrik Lundh fredrik at pythonware.com
Sun Nov 16 15:37:02 EST 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