Current Path : /usr/local/share/ri/1.8/system/Regexp/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Regexp/match-i.yaml |
--- !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