From: caleb clausen Date: 2009-12-19T13:39:41+09:00 Subject: [ruby-core:27229] [Bug #2501] \c before a hex or octal encoded character is no longer allowed Bug #2501: \c before a hex or octal encoded character is no longer allowed http://redmine.ruby-lang.org/issues/show/2501 Author: caleb clausen Status: Open, Priority: Low ruby -v: ruby 1.9.1p376 (2009-12-07 revision 26040 [x86_64-linux] Ruby 1.8 used to allow this: "\c\x33" #(0x33 is the ascii code for '3') as meaning the same thing as this: "\c3" However, it now (in ruby 1.9.1) causes a syntax error. Likewise with octal escape sequences. Is this an intentional change? It seems like an unnecessary restriction. Tested in 1.9.1; I have no 1.9.2 handy to test with. ---------------------------------------- http://redmine.ruby-lang.org