From 99792d063458e5559f6cc8f26c186edccc995344 Mon Sep 17 00:00:00 2001 From: Kouhei Yanagita Date: Wed, 22 Jan 2025 13:56:58 +0900 Subject: [PATCH] [DOC] Fix code markup in String#match --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index 6d4b1ab166..6faeb5d00e 100644 --- a/string.c +++ b/string.c @@ -4951,7 +4951,7 @@ static VALUE get_pat(VALUE); * regexp = Regexp.new(pattern) * - Computes +matchdata+, which will be either a MatchData object or +nil+ * (see Regexp#match): - * matchdata = regexp.match(self) + * matchdata = regexp.match(self) * * With no block given, returns the computed +matchdata+: *