D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
MatchData
/
Filename :
to_s-i.ri
back
Copy
U:RDoc::AnyMethod[iI" to_s:ETI"MatchData#to_s;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I" Returns the matched string:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"-m = /(.)(.)(\d+)(\d)/.match("THX1138.") ;TI":# => #<MatchData "HX1138" 1:"H" 2:"X" 3:"113" 4:"8"> ;TI"m.to_s # => "HX1138" ;TI" ;TI"0m = /(?<foo>.)(.)(?<bar>.+)/.match("hoge") ;TI"/# => #<MatchData "hoge" foo:"h" bar:"ge"> ;TI"m.to_s # => "hoge" ;T:@format0o; ; [I" Related: MatchData.inspect.;T: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"to_s -> string ;T0[ I"();T@FI"MatchData;TcRDoc::NormalClass00