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
/
ruby27
/
share
/
ri
/
system
/
MatchData
/
//opt/alt/ruby27/share/ri/system/MatchData/begin-i.ri
U:RDoc::AnyMethod[iI" begin:ETI"MatchData#begin;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NReturns the offset of the start of the <em>n</em>th element of the match ;TI"array in the string. ;TI"G<em>n</em> can be a string or symbol to reference a named capture.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"-m = /(.)(.)(\d+)(\d)/.match("THX1138.") ;TI"m.begin(0) #=> 1 ;TI"m.begin(2) #=> 2 ;TI" ;TI"/m = /(?<foo>.)(.)(?<bar>.)/.match("hoge") ;TI"p m.begin(:foo) #=> 0 ;TI"p m.begin(:bar) #=> 2;T:@format0: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I" mtch.begin(n) -> integer ;T0[ I" (p1);T@FI"MatchData;TcRDoc::NormalClass00