Fix exact token match pattern
Add tests for new pattern and tricky divless input