File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class RDoc::CrossReference
19
19
#
20
20
# See CLASS_REGEXP_STR
21
21
22
- METHOD_REGEXP_STR = '([A-Za-z]\w*[!?=]?|%|=(?:==?|~)|![=~]|\[\]=?|<(?:<|=>?)?|>[>=]?|[-+!]@?|\*\*?|[/%`])(?:\([\w.+*/=<>-]*\))?'
22
+ METHOD_REGEXP_STR = '([A-Za-z]\w*[!?=]?|%|=(?:==?|~)|![=~]|\[\]=?|<(?:<|=>?)?|>[>=]?|[-+!]@?|\*\*?|[/%`|&^ ])(?:\([\w.+*/=<>-]*\))?'
23
23
24
24
##
25
25
# Regular expressions matching text that should potentially have
Original file line number Diff line number Diff line change 2
2
require File . expand_path '../xref_test_case' , __FILE__
3
3
4
4
class TestRDocCrossReference < XrefTestCase
5
- OPERATOR_METHODS = %w' == === != =~ !~ < > <= >= <=> [] []= << >> -@ +@ ! - + * / % ** !@ ` '
5
+ OPERATOR_METHODS = %w' == === != =~ !~ < > <= >= <=> [] []= << >> -@ +@ ! - + * / % ** !@ ` | & ^ '
6
6
7
7
def setup
8
8
super
You can’t perform that action at this time.
0 commit comments