From 4c42540da2c26f2d83b43c7a3c61e17d610896e8 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Mon, 11 Oct 2021 10:47:12 -0400 Subject: [ruby/rdoc] Support linking #== See related commits: - ebc66662 for #=== - 4943d208 for #[], #[]=, #<<, and #>> https://github.com/ruby/rdoc/commit/8e47f7840a --- lib/rdoc/cross_reference.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc') 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 -- cgit v1.2.3