Feature #966: String#[] should accept (Regexp, String) args so named groups can be used
http://redmine.ruby-lang.org/issues/show/966

Author: Marcin Mielży??ski
Status: Open, Priority: Low
Category: core

as obvious as:
"foo"[/(?<bar>foo)/, "bar"]


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