summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-01-14 17:17:46 +0100
committerGeorg Brandl <georg@python.org>2007-01-14 17:17:46 +0100
commit8a326e0d9337c0156e2c9ce17afab593d7dfd57f (patch)
tree95cca8019756376798235106f12bef0e6dab7858
parent174af5f344d96155d835b9d809b33648339e00c2 (diff)
downloadpygments-git-8a326e0d9337c0156e2c9ce17afab593d7dfd57f.tar.gz
[svn] Another Python string lexer fix.
-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': [