--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a MatchData object describing the match, or nil if there was no match. This is equivalent to retrieving the value of the special variable $~ following a normal match. - !ruby/struct:SM::Flow::VERB body: " /(.)(.)(.)/.match("abc")[2] #=> "b"\n" full_name: Regexp#match is_singleton: false name: match params: | rxp.match(str) => matchdata or nil visibility: public