[test-infra] lint: use re.seach and don't count empty lines (#978)

re.match() checks for a match only at the beginning of the string, so now using re.search.

Removed \n from re to avoid counting empty lines
Removed \r from re since cr_regexp takes care of it


View on GitHub: https://github.com/w3c/web-platform-tests/pull/978

Received on Friday, 9 May 2014 17:37:06 UTC