Show More
@@ -16,7 +16,6 b" CodeMirror.requireMode('python',function(){" | |||||
16 | pythonConf.name = 'python'; |
|
16 | pythonConf.name = 'python'; | |
17 | pythonConf.singleOperators = new RegExp("^[\\+\\-\\*/%&|\\^~<>!\\?]"); |
|
17 | pythonConf.singleOperators = new RegExp("^[\\+\\-\\*/%&|\\^~<>!\\?]"); | |
18 | if (pythonConf.version === 3) { |
|
18 | if (pythonConf.version === 3) { | |
19 | console.log('setting up for python 3'); |
|
|||
20 | pythonConf.identifiers = new RegExp("^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*"); |
|
19 | pythonConf.identifiers = new RegExp("^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*"); | |
21 | } else if (pythonConf.version === 2) { |
|
20 | } else if (pythonConf.version === 2) { | |
22 | pythonConf.identifiers = new RegExp("^[_A-Za-z][_A-Za-z0-9]*"); |
|
21 | pythonConf.identifiers = new RegExp("^[_A-Za-z][_A-Za-z0-9]*"); |
General Comments 0
You need to be logged in to leave comments.
Login now