Optimize regular expression for finding double whitespaces

This pull request has a simpler version of the regular expression:

```
[^\S]){2}