[DOC] Indentation fix in comments of MatchData#inspect
The old version did not add syntax highlighting to the code block, and included the "Related:" line in the code block as well.
This commit is contained in:
parent
0061eaddc9
commit
8b3d044004
7
re.c
7
re.c
@ -2489,10 +2489,10 @@ match_inspect_name_iter(const OnigUChar *name, const OnigUChar *name_end,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* inspect -> string
|
* inspect -> string
|
||||||
*
|
*
|
||||||
* Returns a string representation of +self+:
|
* Returns a string representation of +self+:
|
||||||
*
|
*
|
||||||
* m = /.$/.match("foo")
|
* m = /.$/.match("foo")
|
||||||
* # => #<MatchData "o">
|
* # => #<MatchData "o">
|
||||||
@ -2507,7 +2507,6 @@ match_inspect_name_iter(const OnigUChar *name, const OnigUChar *name_end,
|
|||||||
* m.inspect # => "#<MatchData \"fo\" 1:\"f\" 2:nil 3:\"o\">"
|
* m.inspect # => "#<MatchData \"fo\" 1:\"f\" 2:nil 3:\"o\">"
|
||||||
*
|
*
|
||||||
* Related: MatchData#to_s.
|
* Related: MatchData#to_s.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user