[DOC] Fix code markup in String#match

This commit is contained in:
Kouhei Yanagita 2025-01-22 13:56:58 +09:00 committed by Nobuyoshi Nakada
parent 72fdba156d
commit 99792d0634
Notes: git 2025-01-22 06:07:38 +00:00

View File

@ -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+:
*