1
0
Fork 0
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:
Martin Dürst 2021-09-01 09:24:34 +09:00
parent 6095a4fec0
commit 45b8846bec

2
re.c
View file

@ -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.