Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

\- in regular expression not treated as escape #804

Copy link
Copy link
@mjbvz

Description

@mjbvz
Issue body actions

TS and JS Grammar Extension version: latest

Code

const x = /[a\-b]/g

Bug

\-b is treated as a single character class. However the \- should treated as an escape

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.