Added whitespace checks whitespace regex.

Fixes #3 for Richard.
Merge pull request #4 from talios/master

Added whitespace checks whitespace regex.