From: "sakuro (Sakuro OZAWA)" Date: 2013-08-02T16:25:41+09:00 Subject: [ruby-core:56325] [Backport 200 - Backport #8375] Lexer error when specific character sequence occurs in string literals Issue #8375 has been updated by sakuro (Sakuro OZAWA). =begin # The bug occurs in MRI1.9.3... ruby -v = ruby 1.9.3p374 (2013-01-15) [i386-mingw32] Is this to be backported to 1.9.3? =end ---------------------------------------- Backport #8375: Lexer error when specific character sequence occurs in string literals https://bugs.ruby-lang.org/issues/8375#change-40821 Author: dimitri-lo2u (Dimitri Geshef) Status: Closed Priority: Normal Assignee: nagachika (Tomoyuki Chikanaga) Category: Target version: # The next line causes lexer/parser error: problematic_string = "#$%" # The error message is: unterminated string meets end of file # The bug occurs in MRI1.9.3... ruby -v = ruby 1.9.3p374 (2013-01-15) [i386-mingw32] # ... and in 2.0.0 ruby -v = ruby 2.0.0p0 (2013-02-24) [i386-mingw32] -- http://bugs.ruby-lang.org/