aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc
diff options
context:
space:
mode:
authorMike Dalessio <mike.dalessio@gmail.com>2021-10-11 10:47:12 -0400
committergit <svn-admin@ruby-lang.org>2021-10-16 01:40:47 +0900
commit4c42540da2c26f2d83b43c7a3c61e17d610896e8 (patch)
tree18742c452569872b569823e5b6ed222b62867619 /lib/rdoc
parent7aec65add42d20ba8d70ad33c7b1e8978007e29e (diff)
downloadruby-4c42540da2c26f2d83b43c7a3c61e17d610896e8.tar.gz
[ruby/rdoc] Support linking #==
See related commits: - ebc66662 for #=== - 4943d208 for #[], #[]=, #<<, and #>> https://github.com/ruby/rdoc/commit/8e47f7840a
Diffstat (limited to 'lib/rdoc')
-rw-r--r--lib/rdoc/cross_reference.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/cross_reference.rb b/lib/rdoc/cross_reference.rb
index 99a64cd99a..4a6abfa3ac 100644
--- a/lib/rdoc/cross_reference.rb
+++ b/lib/rdoc/cross_reference.rb
@@ -19,7 +19,7 @@ class RDoc::CrossReference
#
# See CLASS_REGEXP_STR
- METHOD_REGEXP_STR = '([a-z]\w*[!?=]?|%|===|\[\]=?|<<|>>|\+@|-@|-|\+|\*)(?:\([\w.+*/=<>-]*\))?'
+ METHOD_REGEXP_STR = '([a-z]\w*[!?=]?|%|===?|\[\]=?|<<|>>|\+@|-@|-|\+|\*)(?:\([\w.+*/=<>-]*\))?'
##
# Regular expressions matching text that should potentially have