Paddy wrote: > Check the arguments to re.sub. > > >>> re.sub('(?m)^foo', 'bar', '\nfoo', count=0) > '\nbar' > > - Paddy.
Duh! :) I appreciate it, thanks. -- nyenyec -- http://mail.python.org/mailman/listinfo/python-list
Paddy wrote: > Check the arguments to re.sub. > > >>> re.sub('(?m)^foo', 'bar', '\nfoo', count=0) > '\nbar' > > - Paddy.
Duh! :) I appreciate it, thanks. -- nyenyec -- http://mail.python.org/mailman/listinfo/python-list