diff --git a/re.c b/re.c index 7421519b70..e4c98ebb72 100644 --- a/re.c +++ b/re.c @@ -3333,8 +3333,8 @@ rb_reg_match_m(int argc, VALUE *argv, VALUE re) /* * call-seq: - * rxp.match?(str) -> true or false - * rxp.match?(str,pos) -> true or false + * rxp.match?(str) -> true or false + * rxp.match?(str, pos=0) -> true or false * * Returns true or false to indicate whether the * regexp is matched or not without updating $~ and other related variables.