From: Ben Giddings Date: 2009-08-16T02:19:31+09:00 Subject: Re: regexp issue on parsing from file On Aug 15, 2009, at 00:05, Alpha Blue wrote: > File.open("census.lua", "r") do |infile| > while (line = infile.gets) BTW, you might want to look at the more rubyish ways of iterating over the lines of a file. The way you do it works, but is more complex than it needs to be. Ben