U:RDoc::NormalClass[iI"MatchData:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"QMatchData
is the type of the special variable $~
, ;TI"Mand is the type of the object returned by Regexp#match
and ;TI"RRegexp.last_match
. It encapsulates all the results of a pattern ;TI"Dmatch, results normally accessed through the special variables ;TI"I$&
, $'
, $`
, $1
, ;TI" $2
, and so on.;T:
@fileI" re.c;T:0@omit_headings_from_table_of_contents_below0;
0;0[ [ [ [[I"
class;T[[:public[ [:protected[ [:private[ [I"
instance;T[[;[[I"==;TI" re.c;T[I"[];T@*[I"
begin;T@*[I"
captures;T@*[I"end;T@*[I" eql?;T@*[I" hash;T@*[I"inspect;T@*[I"length;T@*[I"named_captures;T@*[I"
names;T@*[I"offset;T@*[I"post_match;T@*[I"pre_match;T@*[I"regexp;T@*[I" size;T@*[I"string;T@*[I" to_a;T@*[I" to_s;T@*[I"values_at;T@*[;
[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;
0;0[I"lib/pp.rb;T@@cRDoc::TopLevel