JSLint reports "Insecure ^" for my regex -- what does that mean?
Posted
by Zhami
on Stack Overflow
See other posts from Stack Overflow
or by Zhami
Published on 2010-06-14T18:45:34Z
Indexed on
2010/06/14
23:42 UTC
Read the original article
Hit count: 1145
I'm trying to get my Javascript code 100% JSLint clean.
I've got a regular expression:
linkRgx = /https?:\/\/[^\s;|\\*'"!,()<>]+/g;
JSLint reports:
Insecure '^'
What makes the use of the negation of the character set "insecure" ?
© Stack Overflow or respective owner