From: Yui NARUSE Date: 2010-01-05T23:47:09+09:00 Subject: [ruby-core:27422] [Bug #2547](Assigned) error when interpolating a string containing a single backslash into a regexp Issue #2547 has been updated by Yui NARUSE. Status changed from Open to Assigned Assigned to set to Yukihiro Matsumoto trunk also reproduce this. However this may be a feature: * Ruby's regexp forbids to split character escape like 'a="\\"; p /#{a}y/' * /#{"\\"}y/ is optimized as /\\y/ on parser, so this is valid ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2547 ---------------------------------------- http://redmine.ruby-lang.org