This regex will match strings like `"\t "` (a tab character followed by a space) which will result in incorrect warnings. It needs to warn only for consecutive occurrences of the same character. AFAIK JSLint and JSHint both only consider actual space characters, rather than all whitespace characters.