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

2252Re: "Unsafe character" error on newlines

Expand Messages
  • Douglas Crockford
    Jun 3, 2011
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Rob" <honky1998@...> wrote:
      > Yesterday www.jslint.com processed my .js program and gave no errors.
      > Today, on the same .js program, it seems to be giving an error at the
      > end of each line, such as:
      > Problem at line 1 character 18: Unsafe character.
      > It reports such a problem for every line of my program. I've been
      > using the options
      > /*jslint white: true, browser: true, nomen: true, regexp: true,
      > bitwise: true, newcap: true, maxerr: 999, indent: 3 */
      > Anyone having the same problem or know what might be happening?
      > Thanks!

      Thanks. As usual, Opera was doing the right thing. There were errors in two regexp literals. Most of the browsers erroneously matched anyway. Opera, correctly, did not.

      Please try it now.
    • Show all 5 messages in this topic