Project

General

Profile

Feature #966

String#[] should accept (Regexp, String) args so named groups can be used

Added by lopex (Marcin Mielżyński) over 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:21057]

Description

=begin
as obvious as:
"foo"[/(?foo)/, "bar"]
=end


Related issues

Has duplicate Ruby master - Feature #2778: Regular Expression Named Group Matching does not work with String#[]Closed02/22/2010Actions

Also available in: Atom PDF