From 5c1fd79f1d45d8ea47a0e68e8bbf3096adf0ea35 Mon Sep 17 00:00:00 2001 From: stomar Date: Thu, 13 Dec 2018 20:25:36 +0000 Subject: re.c: [DOC] fix typos git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- re.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 're.c') diff --git a/re.c b/re.c index a9ef3b6aad..88d051904f 100644 --- a/re.c +++ b/re.c @@ -887,7 +887,7 @@ make_regexp(const char *s, long len, rb_encoding *enc, int flags, onig_errmsg_bu * MatchData encapsulates the result of matching a Regexp against * string. It is returned by Regexp#match and * String#match, and also stored in a global variable returned by - * Regexp.last_match + * Regexp.last_match. * * Usage: * @@ -918,11 +918,11 @@ make_regexp(const char *s, long len, rb_encoding *enc, int flags, onig_errmsg_bu * == Global variables equivalence * * Parts of last MatchData (returned by Regexp.last_match) are also - * aliased as a global variables: + * aliased as global variables: * * * $~ is Regexp.last_match; * * $& is Regexp.last_match[0]; - * * $1, $2 and so on are + * * $1, $2, and so on are * Regexp.last_match[i] (captures by number); * * $` is Regexp.last_match.pre_match; * * $' is Regexp.last_match.post_match; -- cgit v1.2.3