diff options
-rw-r--r-- | re.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <code>true</code> or <code>false</code> to indicate whether the * regexp is matched or not without updating $~ and other related variables. |