Re: Troubleshooting: re.finditer() creates object even when nomatch found

2004-12-17 Thread Fredrik Lundh
Chris Lasher wrote: > That's odd that there's no built-in method to do this. It seems like > it would be a common task. if you do this a lot, maybe you shouldn't use finditer? iterators are designed to give you the next item (if any) when you're ready to deal with it... if that's not what you w

RE: Troubleshooting: re.finditer() creates object even when nomatch found

2004-12-17 Thread Robert Brewer
Chris Lasher wrote: > That's odd that there's no built-in method to do this. It seems like > it would be a common task. Is there any way to request a feature like > this from the RE module keepers, whomever they may be? The best way to request such a feature would be to write a patch. ;) FuManCh