You might want to use lookahead `(?=)` here instead of capturing it so you don't get a token for just the whitespace or apostrophe.