Re: "Unsafe character" error on newlines
- --- In email@example.com, "Rob" <honky1998@...> wrote:
> Yesterday www.jslint.com processed my .js program and gave no errors.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.
> 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?
Please try it now.
- Douglas Crockford wrote:
> Thanks. As usual, Opera was doing the right thing. There were errorsWorks perfectly. Thank you! And thanks for JSLint; it has saved me
> in two regexp literals. Most of the browsers erroneously matched
> anyway. Opera, correctly, did not.
> Please try it now.