diff -r 1a10bee86e33 -r 1a420761fcb7 contrib/check-code.py --- a/contrib/check-code.py Wed Apr 11 11:37:13 2012 +0200 +++ b/contrib/check-code.py Thu Apr 12 20:22:18 2012 -0500 @@ -227,7 +227,7 @@ (r' ;', "no space before ;"), (r'\w+\* \w+', "use int *foo, not int* foo"), (r'\([^\)]+\) \w+', "use (int)foo, not (int) foo"), - (r'\S+ (\+\+|--)', "use foo++, not foo ++"), + (r'\w+ (\+\+|--)', "use foo++, not foo ++"), (r'\w,\w', "missing whitespace after ,"), (r'^[^#]\w[+/*]\w', "missing whitespace in expression"), (r'^#\s+\w', "use #foo, not # foo"),