Guido van Rossum wrote: > From this I understand that when using e.g. findall() it forces > successive matches to be adjacent. Seems to me this would be better addressed using an option to findall() rather than being part of the regex. That would avoid the issue of where to keep the state. -- Greg