U:RDoc::AnyMethod[iI"offset:ETI"MatchData#offset;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"PReturns a two-element array containing the beginning and ending offsets of ;TI"the nth match. ;TI"Gn 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.offset(0) #=> [1, 7]
;TI"!m.offset(4) #=> [6, 7]
;TI"
;TI"/m = /(?.)(.)(?.)/.match("hoge")
;TI"!p m.offset(:foo) #=> [0, 1]
;TI" p m.offset(:bar) #=> [2, 3];T:@format0:
@fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"mtch.offset(n) -> array
;T0[ I" (p1);T@FI"MatchData;TcRDoc::NormalClass00