From: Aaron Patterson Date: 2011-07-28T07:00:12+09:00 Subject: [ruby-core:38570] [Ruby 1.9 - Bug #5109][Third Party's Issue] YAML output has changed Issue #5109 has been updated by Aaron Patterson. Status changed from Open to Third Party's Issue libyaml detects if you have single or double quotes in your string. If it sees those characters, it will escape them and emit a tagged string literal. ---------------------------------------- Bug #5109: YAML output has changed http://redmine.ruby-lang.org/issues/5109 Author: Thomas Sawyer Status: Third Party's Issue Priority: Normal Assignee: Category: lib Target version: ruby -v: ruby 1.9.3dev (2011-07-03 trunk 32372) [x86_64-linux] Have no idea why, but I noticed that 1.9.3 is producing strange YAML output: snippet: - 35: '' - 36: ! ' Then ''the result should be (((\d+))) on the screen'' do |n|' - 37: ! ' @result.assert == n.to_i' - 38: ! ' end' - 39: end Where as in 1.9.2 it comes out more like one would expect: snippet: - 35: "" - 36: " Then 'the result should be (((\\d+))) on the screen' do |n|" - 37: " @result.assert == n.to_i" - 38: " end" - 39: end -- http://redmine.ruby-lang.org