Adding in rule for irregular whitespace checking. fixes #1024

Why not just make this a regular expression literal?