Dejan Lekic wrote: > Mr. Medlock, > D will compile regexp too. Mr. Bommel has already explained that in one of his replies... > > Kind regards > > Dejan I know that. I was talking about recompiling each time through the loop. In python you would say: pat = re.compile( "horizontal" ) then use pat within your loop. -DavidM