Well, if you put this commend somewhere in the root level of the file, jslint stops complaining about regexps alltogether. The inline jslint comments can only be scoped per function block.