diff options
Diffstat (limited to 'pygments/lexers/math.py')
-rw-r--r-- | pygments/lexers/math.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py index d69a8523..77067f35 100644 --- a/pygments/lexers/math.py +++ b/pygments/lexers/math.py @@ -668,7 +668,7 @@ class ScilabLexer(RegexLexer): _scilab_builtins.macros_kw ) + r')\b', Name.Builtin), - ("(" + "|".join(_scilab_builtins.builtin_consts) + r')\b', + (r'(%s)\b' % "|".join(map(re.escape, _scilab_builtins.builtin_consts)), Name.Constant), # operators: |