From: Love U Ruby Date: 2013-04-25T03:54:55+09:00 Subject: Confusion with eval s = eval("%q{a\r\nabc\r\nd\r\nab\neba}") p s #=> "a\nabc\nd\nab\neba" Why the same is not with below? s = eval("%q{banana\n\rapple\nmango\rapple\n\norange\rapple}") p s #=> "banana\n\rapple\nmango\rapple\n\norange\rapple" why the `\r` not removed here? what should be the fix? -- Posted via http://www.ruby-forum.com/.