Possible Duplicate:
Is there a way to make JSLint happy with this regex?
I'm just cleaning up my code using JShint and its throwing up an error for this piece of code.
if (password.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,£,(,)]/)) {
score++;
}
The error is Unescaped '^'.
Basically I want to give more points for a more complex password?