summaryrefslogtreecommitdiff
path: root/pygments/lexers/agile.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-01-14 17:17:46 +0100
committergbrandl <devnull@localhost>2007-01-14 17:17:46 +0100
commitdf9ce85d7a6553f22d808c299b85109088b2ba3b (patch)
tree95cca8019756376798235106f12bef0e6dab7858 /pygments/lexers/agile.py
parent974e1a35f59d29f619dcd0236c3415073ef4e3fb (diff)
downloadpygments-df9ce85d7a6553f22d808c299b85109088b2ba3b.tar.gz
[svn] Another Python string lexer fix.
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 ebe7e90d..fc9e4e46 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -134,12 +134,12 @@ class PythonLexer(RegexLexer):
],
'dqs': [
(r'"', String, '#pop'),
- (r'\\"', String.Escape), # included here again for raw strings
+ (r'\\\\|\\"', String.Escape), # included here again for raw strings
include('strings')
],
'sqs': [
(r"'", String, '#pop'),
- (r"\\'", String.Escape), # included here again for raw strings
+ (r"\\\\|\\'", String.Escape), # included here again for raw strings
include('strings')
],
'tdqs': [