From 3b239d2480123046a59a75f1089ab58d192b9c57 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Sun, 19 Feb 2023 20:16:04 +0000 Subject: Remove (newly unneeded) remarks about aliases --- re.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 're.c') diff --git a/re.c b/re.c index 3b06caa1c4..975dee5940 100644 --- a/re.c +++ b/re.c @@ -1169,8 +1169,6 @@ match_names(VALUE match) * # => # * 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) # => # * - * Regexp.quote is an alias for Regexp.escape. - * */ static VALUE -- cgit v1.2.1