[re.finditer] Getting all occurences in one go?

Gilles Ganault nospam at nospam.com
Mon Apr 23 10:36:16 EDT 2007


On 22 Apr 2007 15:33:37 -0700, Paul Rubin
<http://phr.cx@NOSPAM.invalid> wrote:
>  mytable[item] = ','.join(m.group(1) for m in matches)

Thanks, that did it.



More information about the Python-list mailing list