D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Regexp
/
Filename :
match-i.yaml
back
Copy
--- !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