From: gabriele renzi Date: 2003-09-21T07:44:51+09:00 Subject: Re: Why IO#readlines does'nt accept a Regexp? il Thu, 18 Sep 2003 07:51:25 GMT, gabriele renzi ha scritto:: thanks for all the answers. bte, yet another solution that comes in my mind now: ary=(File.new('bf.rb').map { |l| l.scan(/\w+/) }).flatten