diff options
author | Tim Hatch <tim@timhatch.com> | 2014-10-15 22:46:09 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-10-15 22:46:09 -0700 |
commit | 9d8ee43c77a6d0bf172ae09d31a7c249ed37f925 (patch) | |
tree | 3ffebe276a12c32d078a76dffd50bbaabebd5ffb /pygments/lexers/webmisc.py | |
parent | 86c2eee37cf292677032e02f553710d4c1eb1f04 (diff) | |
download | pygments-9d8ee43c77a6d0bf172ae09d31a7c249ed37f925.tar.gz |
Curly brace escaping, round 2.
These were all pointed out by regexlint but required manual effort to track down
(indicator.py was confused by most of them being produced by expressions).
Also comment out some iffy comment patterns.
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 2f3707f6..7b40b575 100644 --- a/pygments/lexers/webmisc.py +++ b/pygments/lexers/webmisc.py @@ -713,7 +713,7 @@ class XQueryLexer(ExtendedRegexLexer): (r'//|/|\+|-|;|,|\(|\)', Punctuation), # STANDALONE QNAMES - (qname + r'(?=\s*{)', Name.Tag, 'qname_braren'), + (qname + r'(?=\s*\{)', Name.Tag, 'qname_braren'), (qname + r'(?=\s*\([^:])', Name.Function, 'qname_braren'), (qname, Name.Tag, 'operator'), ] |