From: Tadeusz Bochan Date: 2013-05-29T07:31:11+09:00 Subject: AAARRRRGH! s="#$" => SyntaxError: compile error Hi. I get the following error from the following statement : s="#$" irb(main):001:0> s="#$" SyntaxError: (irb):1: unterminated string meets end of file from C:/Ruby200/bin/irb:12:in `
' (A similar response from 1.8.6 on HPUX.) Also, irb(main):011:0> s="#$!" => "" Something is broken. Does anyone know whats going on with this ? s="#"+"$" and s="#\$" work ok, but that does not help when the string occurs in data which goes into eval. Also, this is not good irb(main):008:0> s=("xxxxxx.....#$yyyyyyyyy") => "xxxxxx....." Is there a fundamental problem with the Ruby parser ? or is this just an isolated glitch ? -- Posted via http://www.ruby-forum.com/.