diff --git a/lib/rules_core/normalize.js b/lib/rules_core/normalize.js index 810657e..68fb392 100644 --- a/lib/rules_core/normalize.js +++ b/lib/rules_core/normalize.js @@ -3,8 +3,8 @@ 'use strict'; -var NEWLINES_RE = /\r[\n\u0085]?|[\u2424\u2028\u0085]/g; -var NULL_RE = /\u0000/g; +var NEWLINES_RE = /\r[\n\x85]?|[\u2424\x85]/g; +var NULL_RE = /\0/g; module.exports = function normalize(state) {