mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix minor grammar issue in documentation of Regexp#match? [ci skip]
This commit is contained in:
parent
6095a4fec0
commit
45b8846bec
1 changed files with 1 additions and 1 deletions
2
re.c
2
re.c
|
@ -3336,7 +3336,7 @@ rb_reg_match_m(int argc, VALUE *argv, VALUE re)
|
|||
* rxp.match?(str) -> true or false
|
||||
* rxp.match?(str,pos) -> true or false
|
||||
*
|
||||
* Returns a <code>true</code> or <code>false</code> indicates whether the
|
||||
* Returns <code>true</code> or <code>false</code> to indicate whether the
|
||||
* regexp is matched or not without updating $~ and other related variables.
|
||||
* If the second parameter is present, it specifies the position in the string
|
||||
* to begin the search.
|
||||
|
|
Loading…
Add table
Reference in a new issue