Skip to content

feat: allow - in grammar names#5315

Merged
WillLillis merged 1 commit intotree-sitter:masterfrom
jfly:expand-name-regex
Feb 10, 2026
Merged

feat: allow - in grammar names#5315
WillLillis merged 1 commit intotree-sitter:masterfrom
jfly:expand-name-regex

Conversation

@jfly
Copy link
Contributor

@jfly jfly commented Feb 9, 2026

A number of grammars in the wild have this character in their name:

I read through #3700 and #3637, and it doesn't look like there was much discussion about this name regex, so hopefully this is an acceptable change?

A number of grammars in the wild have this character in their name:

- sogaiu/tree-sitter-janet-simple#7
- tree-sitter/tree-sitter-c-sharp#408
- tree-sitter/tree-sitter-embedded-template#45
- tree-sitter/tree-sitter-ql-dbscheme#7

I read through tree-sitter#3700 and
tree-sitter#3637, and it doesn't
look like there was much discussion about this name regex, so hopefully
this is an acceptable change?
@WillLillis WillLillis merged commit 7d3c321 into tree-sitter:master Feb 10, 2026
@WillLillis
Copy link
Member

Thanks!

@WillLillis WillLillis added the ci:backport release-0.26 Backport label label Feb 10, 2026
@tree-sitter-ci-bot
Copy link

Successfully created backport PR for release-0.26:

@sogaiu
Copy link
Collaborator

sogaiu commented Feb 10, 2026

Please have a look at this discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants