hmm... that regexp doesn't allow other whitespace characters (for example, tabs). They are pretty rare in the middle of the line, but it looks a bit incomplete.