diff options
author | Georg Brandl <georg@python.org> | 2014-10-15 21:32:31 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-15 21:32:31 +0200 |
commit | 10be9bec8a7969a40d4fa3483b8317e0131b1715 (patch) | |
tree | 7047dd543253b4a5f0002c377cce59e3589a2aeb /pygments/lexers/webmisc.py | |
parent | 6095eb22ab78b1754aeb56d67754cc4cb401e843 (diff) | |
download | pygments-10be9bec8a7969a40d4fa3483b8317e0131b1715.tar.gz |
all lexers: fix unescaped { and } so that the "regex" module can compile our regexes
Diffstat (limited to 'pygments/lexers/webmisc.py')
-rw-r--r-- | pygments/lexers/webmisc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/webmisc.py b/pygments/lexers/webmisc.py index fe0fae64..2f3707f6 100644 --- a/pygments/lexers/webmisc.py +++ b/pygments/lexers/webmisc.py @@ -444,7 +444,7 @@ class XQueryLexer(ExtendedRegexLexer): ], 'kindtest': [ (r'\(:', Comment, 'comment'), - (r'{', Punctuation, 'root'), + (r'\{', Punctuation, 'root'), (r'(\))([*+?]?)', popstate_kindtest_callback), (r'\*', Name, 'closekindtest'), (qname, Name, 'closekindtest'), |