contrib/check-code.py
changeset 29142 c07be448028b
parent 29136 e05bdc01505f
child 29143 8ed693ec5398
--- a/contrib/check-code.py	Thu May 05 09:12:26 2016 +0000
+++ b/contrib/check-code.py	Wed May 11 01:56:08 2016 +0000
@@ -103,7 +103,7 @@
     (r'tail -n', "don't use the '-n' option to tail, just use '-<num>'"),
     (r'sha1sum', "don't use sha1sum, use $TESTDIR/md5sum.py"),
     (r'ls.*-\w*R', "don't use 'ls -R', use 'find'"),
-    (r'printf.*[^\\]\\([1-9]|0\d)', "don't use 'printf \NNN', use Python"),
+    (r'printf.*[^\\]\\([1-9]|0\d)', r"don't use 'printf \NNN', use Python"),
     (r'printf.*[^\\]\\x', "don't use printf \\x, use Python"),
     (r'\$\(.*\)', "don't use $(expr), use `expr`"),
     (r'rm -rf \*', "don't use naked rm -rf, target a directory"),