summaryrefslogtreecommitdiff
path: root/pygments/lexers/agile.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-02 22:22:38 +0100
committerGeorg Brandl <georg@python.org>2010-01-02 22:22:38 +0100
commitd9add5a91286658222b45ecda55bcc34b53f1625 (patch)
treecad9f534ab2729f9b032b0f66e1d6a6990ca47f9 /pygments/lexers/agile.py
parent8f4be9fbf50638a43d7d5b05bce38c7335b49b15 (diff)
downloadpygments-d9add5a91286658222b45ecda55bcc34b53f1625.tar.gz
Fix more potential instances of #462.
Diffstat (limited to 'pygments/lexers/agile.py')
-rw-r--r--pygments/lexers/agile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index 01daa990..7a5d5e3d 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -1312,12 +1312,12 @@ class TclLexer(RegexLexer):
],
'string': [
(r'\[', String.Double, 'string-square'),
- (r'(\\\\|\\[0-7]+|\\.|[^"])', String.Double),
+ (r'(\\\\|\\[0-7]+|\\.|[^"\\])', String.Double),
(r'"', String.Double, '#pop')
],
'string-square': [
(r'\[', String.Double, 'string-square'),
- (r'(\\\\|\\[0-7]+|\\.|[^\]])', String.Double),
+ (r'(\\\\|\\[0-7]+|\\.|[^\]\\])', String.Double),
(r'\]', String.Double, '#pop')
],
'brace': [