From ad9c7137282009bbecae8df8bd5a601311282d62 Mon Sep 17 00:00:00 2001 From: aycabta Date: Sat, 26 Oct 2019 16:26:48 +0900 Subject: Make `(#methodname)` a link with --hyperlink-all option --- lib/rdoc/cross_reference.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/cross_reference.rb') diff --git a/lib/rdoc/cross_reference.rb b/lib/rdoc/cross_reference.rb index 76a4dcadee..07ba14c5c3 100644 --- a/lib/rdoc/cross_reference.rb +++ b/lib/rdoc/cross_reference.rb @@ -76,7 +76,7 @@ class RDoc::CrossReference # Version of CROSSREF_REGEXP used when --hyperlink-all is specified. ALL_CROSSREF_REGEXP = / - (?:^|\s) + (?:^|[\s()]) ( (?: # A::B::C.meth -- cgit v1.2.3