Issue #4986 has been reported by Brad Grzesiak.

----------------------------------------
Bug #4986: Parsing bug in irb: "#{"//"}"
http://redmine.ruby-lang.org/issues/4986

Author: Brad Grzesiak
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-darwin10.8.0]


When issuing the following command in irb, it believes it's in the middle of a regexp, rather than returning a string with two slashes:

    "#{"//"}"

While this doesn't seem all that common, it has the same problem with the following string:

    "#{Time.now.strftime("%m/%d/%Y")}"

irb version is: irb 0.9.5(05/04/13)


-- 
http://redmine.ruby-lang.org