aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2021-01-05 15:13:53 +0100
committerMarcus Stollsteimer <sto.mar@web.de>2021-01-05 15:13:53 +0100
commit3108ad7bf3dcae52054a1c29b86246cdb470000b (patch)
tree48879bbd126fe3c3ee37f714130abe7c4a2de49a /re.c
parent3d439447250f19333418adcdf777142dda4b3364 (diff)
downloadruby-3108ad7bf3dcae52054a1c29b86246cdb470000b.tar.gz
[DOC] Fix grammar: "is same as" -> "is the same as"
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 a56b483513..9964e292fd 100644
--- a/re.c
+++ b/re.c
@@ -1113,7 +1113,7 @@ match_regexp(VALUE match)
* mtch.names -> [name1, name2, ...]
*
* Returns a list of names of captures as an array of strings.
- * It is same as mtch.regexp.names.
+ * This is the same as mtch.regexp.names.
*
* /(?<foo>.)(?<bar>.)(?<baz>.)/.match("hoge").names
* #=> ["foo", "bar", "baz"]