##// END OF EJS Templates
Adding regexp for unicode identifers to CM mode.
Brian E. Granger -
Show More
@@ -15,6 +15,7 b" CodeMirror.requireMode('python',function(){"
15 }
15 }
16 pythonConf.name = 'python';
16 pythonConf.name = 'python';
17 pythonConf.singleOperators = new RegExp("^[\\+\\-\\*/%&|\\^~<>!\\?]");
17 pythonConf.singleOperators = new RegExp("^[\\+\\-\\*/%&|\\^~<>!\\?]");
18 pythonConf.identifiers = new RegExp("^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*");
18 return CodeMirror.getMode(conf, pythonConf);
19 return CodeMirror.getMode(conf, pythonConf);
19 }, 'python');
20 }, 'python');
20
21
General Comments 0
You need to be logged in to leave comments. Login now