diff options
-rw-r--r-- | pygments/lexers/agile.py | 4 |
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': [ |