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

Unexpected escaped character '<' in regular expression...

Expand Messages
  • santini.alberto
    For the release Aug, 12nd, at line 910 JSLint (run on itself) displays the message Unexpected escaped character
    Message 1 of 1 , Aug 17, 2008
    • 0 Attachment
      For the release Aug, 12nd, at line 910 JSLint (run on itself) displays
      the message "Unexpected escaped character '<' in regular expression."

      ...
      if (src || (xmode && !(xmode === 'script' || xmode === 'CDATA'))) {
      warningAt("Unexpected comment.", line, character);
      } else if (xmode === 'script' && /\<\/script\>/i.test(s)) { // line 910
      warningAt("Unexpected <\/script> in comment.", line, character);
      } else if ((option.safe || xmode === 'script') && ax.test(s)) {
      warningAt("Dangerous comment.", line, character);
      ...

      P.S.: if I am annoying, you could stop me. :)

      Regards,
      Alberto Santini
    Your message has been successfully submitted and would be delivered to recipients shortly.