Yes, that's fine. We use ``regexp: true`` elsewhere. The Travis CI build uses JSHint instead of JSLint and doesn't output this error.