summaryrefslogtreecommitdiff
path: root/pygments/lexers/agile.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-01-08 19:13:39 +0100
committergbrandl <devnull@localhost>2007-01-08 19:13:39 +0100
commit6342c41108da146a0bb14ecbf812a4ebcb27bec8 (patch)
tree1046355f9e20250b170363d585aacc8d7313111d /pygments/lexers/agile.py
parent8c5979eab20c8927ff4d872f82c74d21d9ee6b15 (diff)
downloadpygments-6342c41108da146a0bb14ecbf812a4ebcb27bec8.tar.gz
[svn] Fix #178 and make test suite pass.
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': [