0

I've got errors like:

 #1 Insecure '^'.
    var strgs = input.match(/"(?:[^\\"]|\\.)*"/ig); // Line 76, Pos 39
 #2 Insecure '.'.
    var strgs = input.match(/"(?:[^\\"]|\\.)*"/ig); // Line 76, Pos 47
 #5 Insecure '^'.
    sq[l] = input.match(/\([^()]+\)/)[0]; // Line 154, Pos 34

Is my regex code really insecure, or shall I loose some configuration of JSLint strict mode?

If there's a suggestion to fix the regex code, please let me know. Thanks.

0 Answers0