aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 01d28aa177..2eb42bc470 100644
--- a/re.c
+++ b/re.c
@@ -3214,7 +3214,7 @@ rb_reg_match_m(int argc, VALUE *argv, VALUE re)
* to begin the search.
*
* /R.../.match?("Ruby") #=> true
- * /R.../.match?("Ruby", 1) #=> true
+ * /R.../.match?("Ruby", 1) #=> false
* /P.../.match?("Ruby") #=> false
* $& #=> nil
*/