Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

RegExp highlighting in ternaries is broken #251

@dead-claudia

Description

@dead-claudia

This is a valid production, but the highlighter sees it as invalid:

isAttr ? /["<&]/g : /[<&]/g

broken highlighting example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions