contrib/check-code.py
changeset 10814 cd0c49bdbfd9
parent 10727 62b8f15683f2
parent 10802 6e4cf8319f54
child 10895 217557b26bc7
--- a/contrib/check-code.py	Thu Apr 01 17:51:32 2010 -0500
+++ b/contrib/check-code.py	Thu Apr 01 17:51:59 2010 -0500
@@ -59,6 +59,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 = [