From: noreply@... Date: 2005-03-08T05:06:32+09:00 Subject: [ ruby-Bugs-1590 ] Ruby's YAML parser doesn't ignore trailing whitespace Bugs item #1590, was opened at 2005-03-07 15:01 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1590&group_id=426 Category: Standard Library Group: None Status: Open Resolution: None Priority: 5 Submitted By: Josh Purinton (joshpurinton) Assigned to: Nobody (None) Summary: Ruby's YAML parser doesn't ignore trailing whitespace Initial Comment: The YAML module in Ruby 1.8.2 incorrectly includes trailing whitespace in hash values. For example, it includes the trailing tab in the hash entry here: $ ruby -e 'require "yaml"; x = YAML::load("a: b\t\n"); raise "wrong" if x["a"] =~ /\t/' This is wrong, and can lead to mysterious problems that are hard to debug. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1590&group_id=426