If you want to allow extra spaces between words, insert a + after each space in the pattern.
If you want to allow tabs in place of spaces, replace each space with [ \t] (or with \s, if you're certain that other forms of white space cannot be present).