"meinrad.recheis" <my.name.here / gmx.at> writes:

> ruby/lib/ruby/1.8/yaml.rb:28: warning: string =~ string will be
> obsolete; use explicit regexp
>
> why??
>
> without =~ matching strings will not be so much fun again :( .

This is the case that's becoming obselete:

irb(main):001:0> "foo" =~ "foo"
(irb):1: warning: string =~ string will be obsolete; use explicit regexp

This should still work:
irb(main):002:0> "foo" =~ /bar/
=> nil          # No warning.

Dan
--
/^Dan Debertin$/         | 
airboss / nodewarrior.org  | 
www.nodewarrior.org      |