[Python-Dev] Missing arguments in RE functions

Erik Heneryd erik at heneryd.com
Wed Sep 8 09:15:16 CEST 2004

Raymond Hettinger wrote:
>>>The first missing feature is the "flags" argument in the findall and
>>>finditer functions.
>> . . .
>>>The second missing feature is the ability to specify start and end
>>>indices when doing matches and searches.
>>I've need both of these more than once.
>>Are you up to crafting the code?
> Noam has posted a patch:
>     www.python.org/sf/1024041
> After adding the unittests, does anyone see any reason that this should
> not be in Py2.4?  


I rarely use the functions, but rather precompile the pattern myself, 
even when it's a one-shot throw-away.  It happens once in awhile, and I 
know I've been puzzled by this a few times when I've used the functions 
for a change.


More information about the Python-Dev mailing list