diff --git a/lib/util.js b/lib/util.js index 900ced1b46133f..5a4e52b62676b2 100644 --- a/lib/util.js +++ b/lib/util.js @@ -87,10 +87,11 @@ const errorToString = Error.prototype.toString; let CIRCULAR_ERROR_MESSAGE; let internalDeepEqual; -/* eslint-disable */ +/* eslint-disable no-control-regex */ const strEscapeSequencesRegExp = /[\x00-\x1f\x27\x5c]/; const strEscapeSequencesReplacer = /[\x00-\x1f\x27\x5c]/g; -/* eslint-enable */ +/* eslint-enable no-control-regex */ + const keyStrRegExp = /^[a-zA-Z_][a-zA-Z_0-9]*$/; const numberRegExp = /^(0|[1-9][0-9]*)$/;