--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Match---If obj is a Regexp, use it as a pattern to match against str,and returns the position the match starts, or nil if there is no match. Otherwise, invokes obj.=~, passing str as an argument. The default =~ in Object returns false. - !ruby/struct:SM::Flow::VERB body: " "cat o' 9 tails" =~ /\\d/ #=> 7\n "cat o' 9 tails" =~ 9 #=> false\n" full_name: String#=~ is_singleton: false name: =~ params: | str =~ obj => fixnum or nil visibility: public