contrib/check-code.py
changeset 10707 4eaf1b746499
parent 10702 1437542a9fd7
child 10716 5f92bde72eef
--- 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),
 ]