mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show default argument explicitly for Rexexp#match? [ci skip]
This commit is contained in:
parent
45b8846bec
commit
f2ffa88964
1 changed files with 2 additions and 2 deletions
4
re.c
4
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 <code>true</code> or <code>false</code> to indicate whether the
|
||||
* regexp is matched or not without updating $~ and other related variables.
|
||||
|
|
Loading…
Add table
Reference in a new issue