Update docs/section-2-using-parsers.md

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Patrick Thomson 2020-10-23 15:11:17 -04:00 committed by GitHub
parent b5d20f07b6
commit b42b873564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -613,7 +613,7 @@ Finally, an anchor _between_ two child patterns will cause the patterns to only
(identifier) @next-id)
```
Were the anchor elided, non-consecutive pairs like `a, c` and `b, d` would be matched.
Without the anchor, non-consecutive pairs like `a, c` and `b, d` would also be matched.
The restrictions placed on a pattern by an anchor operator ignore anonymous nodes.