Don't match newlines as invalid whitespace

\s also matches \n, but we just need spaces and tabs.