diff --git a/string.c b/string.c index 4267f010a4..40917a49da 100644 --- a/string.c +++ b/string.c @@ -9984,9 +9984,9 @@ sym_match(VALUE sym, VALUE other) /* * call-seq: - * sym.match(obj) -> MatchData or nil + * sym.match(obj [, pos]) -> MatchData or nil * - * Returns sym.to_s.match(obj). + * Returns sym.to_s.match. */ static VALUE @@ -9997,9 +9997,9 @@ sym_match_m(int argc, VALUE *argv, VALUE sym) /* * call-seq: - * sym.match?(obj) -> true or false + * sym.match?(obj [, pos]) -> true or false * - * Returns sym.to_s.match?(obj). + * Returns sym.to_s.match?. */ static VALUE