Skip to content
Snippets Groups Projects
Commit 36d0e4a8 authored by Michael Leuschel's avatar Michael Leuschel
Browse files

Merge branch 'master' of gitlab.cs.uni-duesseldorf.de:dgelessus/prob2-jupyter-kernel

parents 460c643e 4f461daa
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,7 @@ define([ ...@@ -183,7 +183,7 @@ define([
} else if (stream.match(/^[\s()\[\]{},]+/)) { } else if (stream.match(/^[\s()\[\]{},]+/)) {
return null; return null;
} else { } else {
const variable = stream.match(/^[\p{L}_][\p{L}0-9_]*/u); const variable = stream.match(/^[\p{L}_][\p{L}0-9_]*[₀-₉]*[‘’′]*/u);
if (variable) { if (variable) {
// Check if the variable name is actually a keyword that should be highlighted differently. // Check if the variable name is actually a keyword that should be highlighted differently.
if (variable in keywordClasses) { if (variable in keywordClasses) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment