summaryrefslogtreecommitdiff
path: root/pygments/lexers/console.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-15 21:32:31 +0200
committerGeorg Brandl <georg@python.org>2014-10-15 21:32:31 +0200
commit10be9bec8a7969a40d4fa3483b8317e0131b1715 (patch)
tree7047dd543253b4a5f0002c377cce59e3589a2aeb /pygments/lexers/console.py
parent6095eb22ab78b1754aeb56d67754cc4cb401e843 (diff)
downloadpygments-10be9bec8a7969a40d4fa3483b8317e0131b1715.tar.gz
all lexers: fix unescaped { and } so that the "regex" module can compile our regexes
Diffstat (limited to 'pygments/lexers/console.py')
-rw-r--r--pygments/lexers/console.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/console.py b/pygments/lexers/console.py
index 334e7195..68aa70e2 100644
--- a/pygments/lexers/console.py
+++ b/pygments/lexers/console.py
@@ -55,8 +55,8 @@ class PyPyLogLexer(RegexLexer):
tokens = {
"root": [
- (r"\[\w+\] {jit-log-.*?$", Keyword, "jit-log"),
- (r"\[\w+\] {jit-backend-counts$", Keyword, "jit-backend-counts"),
+ (r"\[\w+\] \{jit-log-.*?$", Keyword, "jit-log"),
+ (r"\[\w+\] \{jit-backend-counts$", Keyword, "jit-backend-counts"),
include("extra-stuff"),
],
"jit-log": [