diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-02-09 14:58:35 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-02-09 18:44:41 +0900 |
commit | 88b1d21dbb64b4a310e589b1ac8b7661ea09500f (patch) | |
tree | c25d59cf28e30f7f35996dc60302351d36473220 /lib/rdoc | |
parent | 202f690a5edef6d0b8f73c6df53edc02a0f16c7e (diff) | |
download | ruby-88b1d21dbb64b4a310e589b1ac8b7661ea09500f.tar.gz |
[ruby/rdoc] Allow cross references to backtick method
https://github.com/ruby/rdoc/commit/52c33157f1
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/cross_reference.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/cross_reference.rb b/lib/rdoc/cross_reference.rb index 9e4a6ddf69..90c17a52ea 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-Za-z]\w*[!?=]?|%|=(?:==?|~)|![=~]|\[\]=?|<(?:<|=>?)?|>[>=]?|[-+!]@?|\*\*?|[/%])(?:\([\w.+*/=<>-]*\))?' + METHOD_REGEXP_STR = '([A-Za-z]\w*[!?=]?|%|=(?:==?|~)|![=~]|\[\]=?|<(?:<|=>?)?|>[>=]?|[-+!]@?|\*\*?|[/%`])(?:\([\w.+*/=<>-]*\))?' ## # Regular expressions matching text that should potentially have |