From: iMelody Ooo Date: 2010-09-19T00:11:16+09:00 Subject: Re: Ruby regexpresion, error? :-( Thank you,Steel Steel,But why cannot use regexpresion? > then do this > f = File.open(filename) > f.each do|line| > puts line > puts "found ;" if line[-1]==";" > end -- Posted via http://www.ruby-forum.com/.