diff options
| author | Georg Brandl <georg@python.org> | 2007-01-14 17:17:46 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-01-14 17:17:46 +0100 |
| commit | 8a326e0d9337c0156e2c9ce17afab593d7dfd57f (patch) | |
| tree | 95cca8019756376798235106f12bef0e6dab7858 | |
| parent | 174af5f344d96155d835b9d809b33648339e00c2 (diff) | |
| download | pygments-git-8a326e0d9337c0156e2c9ce17afab593d7dfd57f.tar.gz | |
[svn] Another Python string lexer fix.
| -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': [ |
