[bug] If token ends with " " then this whitespace was removed by rstrip()