contrib/check-code.py
branchstable
changeset 10802 6e4cf8319f54
parent 10658 95c7c4b7e67a
child 10814 cd0c49bdbfd9
--- a/contrib/check-code.py	Mon Mar 29 09:15:08 2010 -0300
+++ b/contrib/check-code.py	Wed Mar 31 11:07:46 2010 +0200
@@ -53,6 +53,7 @@
     (r'\$PWD', "don't use $PWD, use `pwd`"),
     (r'[^\n]\Z', "no trailing newline"),
     (r'export.*=', "don't export and assign at once"),
+    ('^([^"\']|("[^"]*")|(\'[^\']*\'))*\\^', "^ must be quoted"),
 ]
 
 testfilters = [