diff --git a/notebook/static/notebook/js/codemirror-ipython.js b/notebook/static/notebook/js/codemirror-ipython.js index 6b1afa9c9..eacd7ddb7 100644 --- a/notebook/static/notebook/js/codemirror-ipython.js +++ b/notebook/static/notebook/js/codemirror-ipython.js @@ -24,7 +24,7 @@ } } pythonConf.name = 'python'; - pythonConf.singleOperators = new RegExp("^[\\+\\-\\*/%&|\\^~<>!\\?]"); + pythonConf.singleOperators = new RegExp("^[\\+\\-\\*/%&|@\\^~<>!\\?]"); if (pythonConf.version === 3) { pythonConf.identifiers = new RegExp("^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*"); } else if (pythonConf.version === 2) {