I'm thinking this should maybe be `[ \\t]+` at the end instead of ` ` in case hard tabs are being used.