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. >> >>+1 >> >>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? > +0 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. Erik
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4