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
#1

Updated by ko1 (Koichi Sasada) over 11 years ago

  • Assignee set to akr (Akira Tanaka)
  • Target version set to 1.9.2

=begin

=end

#2

Updated by akr (Akira Tanaka) over 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r22959.
=end

Also available in: Atom PDF