##// END OF EJS Templates
#7548: A bang, "!", followed by an equal sign, "=", is not a shell escape.
Lev Abalkin -
Show More
@@ -57,7 +57,7 b' ipython_tokens = ['
57 using(BashLexer), Text)),
57 using(BashLexer), Text)),
58 (r'(%)(\w+)(.*\n)', bygroups(Operator, Keyword, Text)),
58 (r'(%)(\w+)(.*\n)', bygroups(Operator, Keyword, Text)),
59 (r'^(!!)(.+)(\n)', bygroups(Operator, using(BashLexer), Text)),
59 (r'^(!!)(.+)(\n)', bygroups(Operator, using(BashLexer), Text)),
60 (r'(!)(.+)(\n)', bygroups(Operator, using(BashLexer), Text)),
60 (r'((?!=)!)(.+)(\n)', bygroups(Operator, using(BashLexer), Text)),
61 ]
61 ]
62
62
63 def build_ipy_lexer(python3):
63 def build_ipy_lexer(python3):
General Comments 0
You need to be logged in to leave comments. Login now