Loading ...
Sorry, an error occurred while loading the content.

7047Wrong syntax highlighting when JavaScript regular expression contains quotation marks

Expand Messages
  • cuixiping
    Mar 16, 2014
    • 0 Attachment
      Single and double quotation marks in  JavaScript regular expression need not be escaped, and should not be treated as string quotations.

      see example JavaScript code:
       var j = /"aaa/, k=123;
      Epp highlighting result is:
        var j = /"aaa/, k=123;
      The expected result is one of:
        var j = /"aaa/, k=123;
        var j = /"aaa/, k=123;

      Wish epp author can fix this issue.