summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c11
1 files changed, 0 insertions, 11 deletions
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)
* # => #<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