Remove (newly unneeded) remarks about aliases

This commit is contained in:
BurdetteLamar 2023-02-19 20:16:04 +00:00 committed by Jeremy Evans
parent 3d53827130
commit 3b239d2480
15 changed files with 2 additions and 149 deletions

11
re.c
View file

@ -1169,8 +1169,6 @@ match_names(VALUE match)
* # => #<MatchData "HX1138" 1:"H" 2:"X" 3:"113" 4:"8">
* m.size # => 5
*
* MatchData#length is an alias for MatchData.size.
*
*/
static VALUE
@ -3413,8 +3411,6 @@ reg_hash(VALUE re)
* /foo/ == Regexp.new('food') # => false
* /foo/ == Regexp.new("abc".force_encoding("euc-jp")) # => false
*
* Regexp#eql? is an alias for Regexp#==.
*
*/
VALUE
@ -3465,9 +3461,6 @@ match_hash(VALUE match)
* Returns +true+ if +object+ is another \MatchData object
* whose target string, regexp, match, and captures
* are the same as +self+, +false+ otherwise.
*
* MatchData#eql? is an alias for MatchData#==.
*
*/
static VALUE
@ -3895,8 +3888,6 @@ void rb_warn_deprecated_to_remove(const char *removal, const char *fmt, const ch
* r3 = Regexp.new(r, timeout: 3.14) # => /foo/m
* r3.timeout # => 3.14
*
* Regexp.compile is an alias for Regexp.new.
*
*/
static VALUE
@ -4090,8 +4081,6 @@ rb_reg_quote(VALUE str)
* r = Regexp.new(Regexp.escape(s)) # => /\\\\\\\*\\\?\\\{\\\}\\\./
* r.match(s) # => #<MatchData "\\\\\\*\\?\\{\\}\\.">
*
* Regexp.quote is an alias for Regexp.escape.
*
*/
static VALUE