diff options
author | gbrandl <devnull@localhost> | 2007-01-14 17:17:46 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-01-14 17:17:46 +0100 |
commit | df9ce85d7a6553f22d808c299b85109088b2ba3b (patch) | |
tree | 95cca8019756376798235106f12bef0e6dab7858 /pygments/lexers/agile.py | |
parent | 974e1a35f59d29f619dcd0236c3415073ef4e3fb (diff) | |
download | pygments-df9ce85d7a6553f22d808c299b85109088b2ba3b.tar.gz |
[svn] Another Python string lexer fix.
Diffstat (limited to 'pygments/lexers/agile.py')
-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': [ |