📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 13:39:21
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
MatchData
📍 /opt/alt/ruby33/share/ri/system/MatchData
🔄 Refresh
✏️
Editing: byteoffset-i.ri
Read Only
U:RDoc::AnyMethod[iI"byteoffset:ETI"MatchData#byteoffset;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"[Returns a two-element array containing the beginning and ending byte-based offsets of ;TI"the <em>n</em>th match. ;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.byteoffset(0) #=> [1, 7] ;TI"%m.byteoffset(4) #=> [6, 7] ;TI" ;TI"/m = /(?<foo>.)(.)(?<bar>.)/.match("hoge") ;TI"%p m.byteoffset(:foo) #=> [0, 1] ;TI"$p m.byteoffset(:bar) #=> [2, 3];T:@format0: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"#mtch.byteoffset(n) -> array ;T0[ I" (p1);T@FI"MatchData;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel