[DOC] Fix code markup in String#match
This commit is contained in:
parent
72fdba156d
commit
99792d0634
Notes:
git
2025-01-22 06:07:38 +00:00
2
string.c
2
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+:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user