fixed lexing expression ending with spaces