D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
MatchData
/
Filename :
post_match-i.ri
back
Copy
U:RDoc::AnyMethod[iI"post_match:ETI"MatchData#post_match;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"5Returns the substring of the target string from ;TI"Fthe end of the first match in +self+ (that is, <tt>self[0]</tt>) ;TI"to the end of the string; ;TI"6equivalent to regexp global variable <tt>$'</tt>:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"7m = /(.)(.)(\d+)(\d)/.match("THX1138: The Movie") ;TI":# => #<MatchData "HX1138" 1:"H" 2:"X" 3:"113" 4:"8"> ;TI" m[0] # => "HX1138" ;TI"&m.post_match # => ": The Movie"\ ;T:@format0o; ; [I""Related: MatchData.pre_match.;T: @fileI" re.c;T:0@omit_headings_from_table_of_contents_below0I"post_match -> str ;T0[ I"();T@FI"MatchData;TcRDoc::NormalClass00