summaryrefslogtreecommitdiff
path: root/pygments/lexers/agile.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/agile.py')
-rw-r--r--pygments/lexers/agile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index 3c63cbda..ef448cdc 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -130,10 +130,12 @@ class PythonLexer(RegexLexer):
],
'dqs': [
(r'"', String, '#pop'),
+ (r'\\"', String.Escape), # included here again for raw strings
include('strings')
],
'sqs': [
(r"'", String, '#pop'),
+ (r"\\'", String.Escape), # included here again for raw strings
include('strings')
],
'tdqs': [