Your IP : 18.222.119.143
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns a <tt>MatchData</tt> object describing the match, or <tt>nil</tt> if there was no match. This is equivalent to retrieving the value of the special variable <tt>$~</tt> 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