not sure if setting a regexp for an exception lines is a good idea. Not checking tests which do not run on windows looks better. on some patterns I fail: r' moving .*/.* to .*[^)]' r'^ adding .*/.*[^)]$' r'^ pushing to \$TESTTMP/.*[^)]$' they match on lines which pass without having (glob)