Skip to content

Conversation

@msujew
Copy link
Member

@msujew msujew commented Mar 28, 2025

Our current way of representing case insensitive tokens in the token builder and textmate grammars is rather unusual. Instead of using [xX] for every possible character x, we can make use of the i or (?i) regex options instead. This massively improves readability of the generated textmate grammars.

@msujew msujew added the cli CLI related issue label Mar 28, 2025
Copy link
Contributor

@spoenemann spoenemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@msujew msujew merged commit fea157c into main Apr 2, 2025
5 checks passed
@msujew msujew deleted the msujew/improve-case-insensitive branch April 2, 2025 10:41
@spoenemann spoenemann added this to the v3.5.0 milestone Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants