From: Brad Mr Date: 2010-01-29T03:00:20+09:00 Subject: Re: Regex or line.each seems to not be working. Roger Pack wrote: > >> @rf.each do |line| > > does rf have multiple lines in it? > (you can add a puts line in there, to see). > -r Yes.... @rf is actually the instance variable of the text file listed at the end of my original posting Instantiated as such: @rf = File.open("#{Dir.pwd}/Script_Files/BlahBlahBlah.txt, "r") -- Posted via http://www.ruby-forum.com/.