From bc646e6715bc0113e800f4d7f4dec7bb34123cc1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 7 Apr 2020 13:59:38 +0900 Subject: [DOC] get rid of parsing as TIDYLINK unintentionally --- re.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 're.c') diff --git a/re.c b/re.c index 44418ec064..4f39e6058a 100644 --- a/re.c +++ b/re.c @@ -924,12 +924,12 @@ make_regexp(const char *s, long len, rb_encoding *enc, int flags, onig_errmsg_bu * aliased as global variables: * * * $~ is Regexp.last_match; - * * $& is Regexp.last_match[0]; + * * $& is Regexp.last_match[ 0 ]; * * $1, $2, and so on are - * Regexp.last_match[i] (captures by number); + * Regexp.last_match[ i ] (captures by number); * * $` is Regexp.last_match.pre_match; * * $' is Regexp.last_match.post_match; - * * $+ is Regexp.last_match[-1] (the last capture). + * * $+ is Regexp.last_match[ -1 ] (the last capture). * * See also "Special global variables" section in Regexp documentation. */ -- cgit v1.2.3