when i try this code
ruby -ryaml -e 'p YAML.load(" --- hello")'
it print the "hello"
but when i use
ruby -ryaml -e 'p YAML.load("\t--- hello")' under my windows
ruby 1.8.2 (2004-12-25) [i386-mswin32]
it print such error
e:/ruby/lib/ruby/1.8/yaml.rb:119:in `load': parse error on line 0, col
10: `' (ArgumentError)
from e:/ruby/lib/ruby/1.8/yaml.rb:119:in `load'
from -e:1
but it's ok under linux , so why yaml can not accept "\t" under windows
?