[Python-Dev] Re: Missing arguments in RE functions

Raymond Hettinger raymond.hettinger at verizon.net
Wed Sep 8 19:39:43 CEST 2004


> >> The second missing feature is the ability to specify start and end
> >> indices when doing matches and searches.
> >
> > +1
> >
> > I've need both of these more than once.
> 
> any reason you why you cannot type "re.compile(p).match(...)" ?

That is what I usually do and that is the approach taken by the patch.

If you see a downside, feel free to reject his patch.  IMO, it is only a
small win.


Raymond



More information about the Python-Dev mailing list