Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeat pattern #281

Merged
merged 2 commits into from
Jun 6, 2023
Merged

Repeat pattern #281

merged 2 commits into from
Jun 6, 2023

Conversation

eed3si9n
Copy link
Collaborator

@eed3si9n eed3si9n commented Jun 6, 2023

Fixes #262

Problem

  1. Repeat pattern with * doesn't parse.
  2. Capture pattern @ doesn't capture wildcard.

Solution

  1. This implements support for * in pattern.
  2. This also allows using _@.

Problem
-------
1. Repeat pattern with `*` doesn't parse.
2. Capture pattern `@` doesn't capture wildcard.

Solution
--------
1. This implements support for `*` in pattern.
2. This also allows using `_@`.
@susliko
Copy link
Collaborator

susliko commented Jun 6, 2023

Looks good to me!

@eed3si9n eed3si9n merged commit e714736 into tree-sitter:master Jun 6, 2023
@eed3si9n eed3si9n deleted the wip/repeat_pattern branch June 6, 2023 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repeated params in matches
2 participants