Roger Pack wrote: > >> time ./test.rb >/tmp/t >> elap 6.511 user 6.336 syst 0.136 CPU 99.40% >> > >> time ./test.pl >/tmp/t >> elap 0.864 user 0.844 syst 0.020 CPU 100.04% >> >> So perl is 7 or 8 times faster here. > > You could try ruby 1.9 and see if it helps the speed. > > If slow regex is a big problem for you I could probably hack up a gem > that wraps PCRE or what not. Better yet, there's Oniguruma. > -r Best, -- Marnen Laibow-Koser http://www.marnen.org marnen / marnen.org -- Posted via http://www.ruby-forum.com/.