don't allow whitespace in pattern filetype pattern