staticVALUErb_str_match_m(intargc,VALUE*argv,VALUEstr){VALUEre,result;if(argc<1)rb_raise(rb_eArgError,"wrong number of arguments (%d for 1..2)",argc);re=argv[0];argv[0]=str;result=rb_funcall2(get_pat(re,0),rb_intern("match"),argc,argv);if(!NIL_P(result)&&rb_block_given_p()){returnrb_yield(result);}returnresult;}