Skip to content

Commit

Permalink
[DOC] Fix code markup in String#match
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanagi authored and nobu committed Jan 22, 2025
1 parent 72fdba1 commit 99792d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion string.c
Original file line number Diff line number Diff line change
Expand Up @@ -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+:
*
Expand Down

0 comments on commit 99792d0

Please sign in to comment.