Skip to content

Commit 169c838

Browse files
committed
Added . and $ operators
1 parent 5a1cc09 commit 169c838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fancy_pygments/fancy_lexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class FancyLexer(RegexLexer):
6868
# functions
6969
(r'[a-zA-Z]([a-zA-Z0-9_]|[-+?!=*/^><%])*:', Name.Function),
7070
# operators, must be below functions
71-
(r'[-+*/~,<>=&!?%^\[\]]+', Operator),
71+
(r'[-+*/~,<>=&!?%^\[\]\.$]+', Operator),
7272
('[A-Z][a-zA-Z0-9_]*', Name.Constant),
7373
('@[a-zA-Z_][a-zA-Z0-9_]*', Name.Variable.Instance),
7474
('@@[a-zA-Z_][a-zA-Z0-9_]*', Name.Variable.Class),

0 commit comments

Comments
 (0)