We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 261ef1d commit a30bf55Copy full SHA for a30bf55
lib/util.js
@@ -87,10 +87,11 @@ const errorToString = Error.prototype.toString;
87
let CIRCULAR_ERROR_MESSAGE;
88
let internalDeepEqual;
89
90
-/* eslint-disable */
+/* eslint-disable no-control-regex */
91
const strEscapeSequencesRegExp = /[\x00-\x1f\x27\x5c]/;
92
const strEscapeSequencesReplacer = /[\x00-\x1f\x27\x5c]/g;
93
-/* eslint-enable */
+/* eslint-enable no-control-regex */
94
+
95
const keyStrRegExp = /^[a-zA-Z_][a-zA-Z_0-9]*$/;
96
const numberRegExp = /^(0|[1-9][0-9]*)$/;
97
0 commit comments