fix for #278
tokens can be followed by new lines (or other kind of spaces)