Skip to content

Commit

Permalink
Fix minor grammar issue in documentation of Regexp#match? [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
duerst committed Sep 1, 2021
1 parent 6095a4f commit 45b8846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re.c
Expand Up @@ -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.
Expand Down

0 comments on commit 45b8846

Please sign in to comment.