[ruby/rdoc] Allow cross references to backtick method
https://github.com/ruby/rdoc/commit/52c33157f1
This commit is contained in:
parent
202f690a5e
commit
88b1d21dbb
@ -19,7 +19,7 @@ class RDoc::CrossReference
|
|||||||
#
|
#
|
||||||
# See CLASS_REGEXP_STR
|
# 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
|
# Regular expressions matching text that should potentially have
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
require File.expand_path '../xref_test_case', __FILE__
|
require File.expand_path '../xref_test_case', __FILE__
|
||||||
|
|
||||||
class TestRDocCrossReference < XrefTestCase
|
class TestRDocCrossReference < XrefTestCase
|
||||||
OPERATOR_METHODS = %w'== === != =~ !~ < > <= >= <=> [] []= << >> -@ +@ ! - + * / % ** !@'
|
OPERATOR_METHODS = %w'== === != =~ !~ < > <= >= <=> [] []= << >> -@ +@ ! - + * / % ** !@ `'
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
super
|
super
|
||||||
|
Loading…
x
Reference in New Issue
Block a user