From: ChrisH Date: 2006-08-18T00:15:11+09:00 Subject: Re: Array Comparison aidy wrote: > t = $ie.table(:index, '2').to_a.flatten > t.each {|a| > p "table #{a}" > p "line #{line}" > if /line/ =~ a; p 'match' else; p 'not match'; end > } > try /#{line}/ =~ a cheers