--- a/contrib/check-code.py Tue Mar 16 01:16:19 2010 +0100
+++ b/contrib/check-code.py Tue Mar 16 16:39:17 2010 +0100
@@ -96,10 +96,10 @@
]
pyfilters = [
+ (r'''(?<!")(")(([^"\n]|\\")+)"(?!")''', repquote),
+ (r"""(?<!')(')(([^'\n]|\\')+)'(?!')""", repquote),
(r"""(''')(([^']|\\'|'{1,2}(?!'))*)'''""", repquote),
(r'''(""")(([^"]|\\"|"{1,2}(?!"))*)"""''', repquote),
- (r'''(?<!")(")(([^"\n]|\\")+)"(?!")''', repquote),
- (r"""(?<!')(')(([^'\n]|\\')+)'(?!')""", repquote),
(r"( *)(#([^\n]*\S)?)", repcomment),
]