Skip to content

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