Skip to content

Fix for escape character matching #9

Description

@juanitogan

The current language file uses this for matching escape sequences:

<string>\\.</string>

If you turn off the PICO-8 theme, you will see that decimal and hex escape sequences aren't fully colorized. This fixes it (adapted from the latest Lua highlighter):

<string>\\([abfnrtv\\"']|\r?\n|\n\r?|\d\d?\d?|[xX][0-9a-fA-F]{2})</string>

Replace both occurrences in PICO-8.tmLanguage.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions