Re: finditer

2014-07-07 Thread Jason Friedman
On Mon, Jul 7, 2014 at 1:19 AM, gintare wrote: > If smbd has time, maybe you could advice how to accomplish this task in > faster way. > > I have a text = """ word{vb} > wordtransl {vb} > > sent1. > > sent1trans. > > sent2 > > sent2trans... """ > > I need to match once wordtransl, and than many t

finditer

2014-07-07 Thread gintare
If smbd has time, maybe you could advice how to accomplish this task in faster way. I have a text = """ word{vb} wordtransl {vb} sent1. sent1trans. sent2 sent2trans... """ I need to match once wordtransl, and than many times repeating patterns consisting of sent and senttrans. The way i