Skip to content

Add Regex grammar - #35

Open
carterworks wants to merge 1 commit into
davatron5000:mainfrom
carterworks:pr/regex
Open

Add Regex grammar#35
carterworks wants to merge 1 commit into
davatron5000:mainfrom
carterworks:pr/regex

Conversation

@carterworks

@carterworks carterworks commented Sep 9, 2026

Copy link
Copy Markdown

What does this change?

Adds regex language support based on Microsoft VS Code’s JavaScript regexp rule repositories.

Screenshot

Regex playground preview

Checklist

  • npm test passes locally — 15 Node tests and 33 browser tests
  • The size budget still passes
  • Added/updated tests and the demo (docs/index.html)
  • Followed the grammar contribution steps in CONTRIBUTING.md

Size impact

Core bundle: 2.09 KiB gzip.

New lazy-loaded Regex grammar chunk: 0.70 KiB gzip.

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.

1 participant