Project

General

Profile

Actions

Feature #966

closed

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

Added by lopex (Marcin Mielżyński) over 15 years ago. Updated almost 13 years ago.

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

Description

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


Related issues 1 (0 open1 closed)

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

Also available in: Atom PDF

Like0
Like0Like0