[前][次][番号順一覧][スレッド一覧]

ruby-changes:67515

From: Martin <ko1@a...>
Date: Wed, 1 Sep 2021 09:26:25 +0900 (JST)
Subject: [ruby-changes:67515] 45b8846bec (master): Fix minor grammar issue in documentation of Regexp#match? [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=45b8846bec

From 45b8846bec5b8228767100fceb9389023560dfa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20D=C3=BCrst?= <duerst@i...>
Date: Wed, 1 Sep 2021 09:24:34 +0900
Subject: 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 3bd9237..7421519 100644
--- a/re.c
+++ b/re.c
@@ -3336,7 +3336,7 @@ rb_reg_match_m(int argc, VALUE *argv, VALUE re) https://github.com/ruby/ruby/blob/trunk/re.c#L3336
  *     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.
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]