From: Brad Grzesiak <brad@bendyworks.com>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:37842] [Ruby 1.8 - Bug #4986][Open] Parsing bug in irb: "#{"//"}"
Date: Thu, 7 Jul 2011 14:03:40 +0900 [thread overview]
Message-ID: <redmine.issue-4986.20110707140338@ruby-lang.org> (raw)
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
next reply other threads:[~2011-07-07 4:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-07 5:03 Brad Grzesiak [this message]
2011-07-07 12:56 ` [ruby-core:37846] Re: [Ruby 1.8 - Bug #4986][Open] Parsing bug in irb: "#{"//"}" Adam Prescott
2011-07-07 19:49 ` [ruby-core:37851] [Ruby 1.8 - Bug #4986] " Brad Grzesiak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.issue-4986.20110707140338@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).