Fix trailing white space regex

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