Lightweight regex based tokenization.