Skip to content

JavaScript regular expressions not handled #2670

@jordanbrown0

Description

@jordanbrown0

The expression
s.replace(/"/g, 'x')
is treated as an unterminated string and causes the rest of the text (until a similar mismatch) to be colored as a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions