summaryrefslogtreecommitdiff
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 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"]