U:RDoc::AnyMethod[iI"named_captures:ETI"Regexp#named_captures;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"PReturns a hash representing information about named captures of rxp.;To:RDoc::Markup::BlankLine o;
; [I"8A key of the hash is a name of the named captures. ;TI"OA value of the hash is an array which is list of indexes of corresponding ;TI"named captures.;T@o:RDoc::Markup::Verbatim; [
I")/(?.)(?.)/.named_captures
;TI""#=> {"foo"=>[1], "bar"=>[2]}
;TI"
;TI")/(?.)(?.)/.named_captures
;TI"#=> {"foo"=>[1, 2]}
;T:@format0o;
; [I"?If there are no named captures, an empty hash is returned.;T@o;; [I"/(.)(.)/.named_captures
;TI"#=> {};T;
0:
@fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"!rxp.named_captures -> hash
;T0[ I"();T@"FI"Regexp;TcRDoc::NormalClass00