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

Wrong syntax highlighting when JavaScript regular expression contains quotation marks

Expand Messages
  • cuixiping
    Single and double quotation marks in JavaScript regular expression need not be escaped, and should not be treated as string quotations. see example JavaScript
    Message 1 of 1 , 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.
    Your message has been successfully submitted and would be delivered to recipients shortly.