On 7/10/07, John Carter <john.carter / tait.co.nz> wrote: > Since most Linux distro's roll the log files to a reasonable size I would have just gone with... > > ARGF.read.scan( %r{GET /ongoing/When/\d\d\dx/(\d\d\d\d/\d\d/\d\d/[^ .]+) }) do |match| > puts $1 > end ARGF.read.scan( %r{GET /ongoing/When/\d{3}x/(\d#{4}/\d#{4}/[^ .]+) }) do |match| puts $1 end martin