# Proper local token group usage and incorrect matching

**URL:** https://discuss.codemirror.net/t/proper-local-token-group-usage-and-incorrect-matching/5778
**Category:** Lezer
**Created:** [February 23, 2023, 8:07am UTC](https://discuss.codemirror.net/t/proper-local-token-group-usage-and-incorrect-matching/5778 "2023-02-23T08:07:10Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![marijn](https://discuss.codemirror.net/user_avatar/discuss.codemirror.net/marijn/32/136_2.png) [@marijn](https://discuss.codemirror.net/u/marijn)
#### Post date: [February 24, 2023, 2:20pm UTC](https://discuss.codemirror.net/t/proper-local-token-group-usage-and-incorrect-matching/5778/11 "2023-02-24T14:20:21Z")

</div>

Unlimited lookahead in an external tokenizer is definitely going to impact how much incremental parsing Lezer is going to be able to do. I’m not really sure what way to point you in at this point—the thing you’re trying to do may not match what Lezer can do very well.

---

_[View the full topic](https://discuss.codemirror.net/t/proper-local-token-group-usage-and-incorrect-matching/5778)._
