summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKouhei Yanagita <[email protected]>2025-01-22 13:56:58 +0900
committerNobuyoshi Nakada <[email protected]>2025-01-22 15:07:19 +0900
commit99792d063458e5559f6cc8f26c186edccc995344 (patch)
tree406eea3993b88b190de887af721ec4b609831b4e
parent72fdba156d2963609141867b815e202d558582bf (diff)
[DOC] Fix code markup in String#match
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12608
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
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 = <tt>regexp.match(self)
+ * matchdata = regexp.match(self)
*
* With no block given, returns the computed +matchdata+:
*