tokenizer: fix empty line matching

"\s" eats away "\n" so the matching doesn't work.