summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorMartin Dürst <duerst@it.aoyama.ac.jp>2021-09-01 09:24:34 +0900
committerMartin Dürst <duerst@it.aoyama.ac.jp>2021-09-01 09:24:34 +0900
commit45b8846bec5b8228767100fceb9389023560dfa1 (patch)
tree9d03241765d21bd3c207b1ada7e6a142a6384434 /re.c
parent6095a4fec00a4272a284cb2646b95329dd86a98e (diff)
Fix minor grammar issue in documentation of Regexp#match? [ci skip]
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 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 <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.