From: James Edward Gray II Date: 2006-10-11T21:53:53+09:00 Subject: Re: scanning strings, backward? On Oct 11, 2006, at 6:05 AM, Bil Kleb wrote: > So, the tasks are roughly, > > 1) Goto line 1707 of the file > 2) Search backward until line.match /\Wdt\W/i Would my File::ReadBackwards port help here? http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/177347 I've needed it twice myself lately, so I'm happy to gemify it, if it will help you. James Edward Gray II