From: ts Date: 2002-12-02T01:13:47+09:00 Subject: Re: HELP version 1.73 >>>>> "S" == Shannon Fang writes: S> ./test.rb:90: warning: string pattern instead of regexp; metacharacters S> no longer effective Give it a regexp, it want a regexp S> ha=line.split("\s*:\s*") ha=line.split(/\s*:\s*/) S> Is there some fundamental change taking place? Now if you want to know the difference pigeon% ruby -ve 'line = "aa\t:\tbb"; ha = line.split("\s*:\s*"); p ha' ruby 1.7.3 (2002-11-17) [i686-linux] -e:1: warning: string pattern instead of regexp; metacharacters no longer effective ["aa\t:\tbb"] pigeon% pigeon% /usr/bin/ruby -ve 'line = "aa\t:\tbb"; ha = line.split("\s*:\s*"); p ha' ruby 1.6.8 (2002-11-09) [i686-linux] ["aa\t", "\tbb"] pigeon% which probably don't do what you want. Guy Decoux