From: Damjan Rems Date: 2008-08-08T21:49:29+09:00 Subject: Re: Regex. How to return multiple lines > There are of course other possible approaches and depending on what > you want to do they might be more efficient. > I would baisicly like to have somekind of fulltext search. Your example finds 4 letter word in 7.5MB file containing 65000 lines in 0.13 seconds on C2DUO 2.4 Ghz and 0.35 seconds on PIII 1.3Ghz which is quite good. by TheR -- Posted via http://www.ruby-forum.com/.