summaryrefslogtreecommitdiff
path: root/lib/rdoc
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-10-26 16:26:48 +0900
committeraycabta <aycabta@gmail.com>2019-10-26 16:27:23 +0900
commitad9c7137282009bbecae8df8bd5a601311282d62 (patch)
treee19356dbd3429723f52306d883c9e107803619c9 /lib/rdoc
parentd70fdeedf0a2fc942d91b82f564b78a54ff48d7c (diff)
Make `(#methodname)` a link with --hyperlink-all option
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 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 <tt>--hyperlink-all</tt> is specified.
ALL_CROSSREF_REGEXP = /
- (?:^|\s)
+ (?:^|[\s()])
(
(?:
# A::B::C.meth