Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
MatchData
/
//opt/alt/ruby21/share/ri/2.1.0/system/MatchData/names-i.ri
U:RDoc::AnyMethod[iI" names:ETI"MatchData#names;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"AReturns a list of names of captures as an array of strings. ;TI"%It is same as mtch.regexp.names.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"7/(?<foo>.)(?<bar>.)(?<baz>.)/.match("hoge").names ;TI"#=> ["foo", "bar", "baz"] ;TI" ;TI"Gm = /(?<x>.)(?<y>.)?/.match("a") #=> #<MatchData "a" x:"a" y:nil> ;TI"4m.names #=> ["x", "y"];T:@format0: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I")mtch.names -> [name1, name2, ...] ;T0[ I"();T@FI"MatchData;TcRDoc::NormalClass00