Project

General

Profile

Actions

Backport #4986

closed

Parsing bug in irb: "#{"//"}"

Added by listrophy (Brad Grzesiak) almost 13 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
[ruby-core:37842]

Description

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)

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0