Skip to content

fix: add a dedicated regex literal scope - #3

Open
HelgeSverre wants to merge 1 commit into
mainfrom
fix/regex-highlighting
Open

HelgeSverre wants to merge 1 commit into
mainfrom
fix/regex-highlighting

Conversation

@HelgeSverre

@HelgeSverre HelgeSverre commented Aug 10, 2026 •

Copy link
Copy Markdown
Member

Problem: Sublime treated regex literals as ordinary strings beginning at the quote.

Cause: the syntax had no regex context.

Fix: add a dedicated regex scope before ordinary strings and cover raw escapes, escaped quotes, literal backslashes, and the builtin scope in real syntax-test fixtures.

Tests: YAML validation locally; authoritative Sublime syntax tests in CI.

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