mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[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
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue