General

Profile

Phlogistique (Noé Rubinstein)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

05/06/2011

05:33 PM Ruby Bug #4650 (Rejected): sub/gsub with named group captures discards numbered group captures
puts "ab".sub(/(?<g>.)(.)/, "0=\\0 1=\\1 2=\\2 g=\\k<g>") # outputs "0=ab 1= 2= g=a"
Expected: "0=ab 1=b 2= g=a"
(or maybe "0=ab 1= 2=b g=a"? Though I think it's the former)
Phlogistique (Noé Rubinstein)

Also available in: Atom