Use isSpace in tokenizer