diff options
author | Martin Dürst <duerst@it.aoyama.ac.jp> | 2021-09-01 09:37:13 +0900 |
---|---|---|
committer | Martin Dürst <duerst@it.aoyama.ac.jp> | 2021-09-01 09:37:13 +0900 |
commit | f2ffa8896436050af679db6b5dff7b1fc35ef819 (patch) | |
tree | 6606aa27e9b693ad4e65f77d7f8fd731bef1ef9e | |
parent | 45b8846bec5b8228767100fceb9389023560dfa1 (diff) | |
download | ruby-f2ffa8896436050af679db6b5dff7b1fc35ef819.tar.gz |
Show default argument explicitly for Rexexp#match? [ci skip]
-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. |