From 45b8846bec5b8228767100fceb9389023560dfa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=BCrst?= Date: Wed, 1 Sep 2021 09:24:34 +0900 Subject: [PATCH] Fix minor grammar issue in documentation of Regexp#match? [ci skip] --- re.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re.c b/re.c index 3bd9237683..7421519b70 100644 --- a/re.c +++ b/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 true or false indicates whether the + * Returns true or false 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.