Skip to content

Regex expression breaks syntax highlighting #81

@skattwood

Description

@skattwood

Here is some example code that breaks the syntax highlighting:

var str = "This is a \"quote\" test";
str.replace(/["]/g, '');
// Example function
function foo() {
  console.log("foo");
}
// Example function 2
function bar(arg) {
  console.log("bar");
}
str2 = "this is a test string";
foo();
bar();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions