From 9139a9f6729f3c1623ca3ff5ccd58dec1523acab Mon Sep 17 00:00:00 2001 From: Douglas Crockford Date: Tue, 15 May 2018 08:18:51 -0700 Subject: [PATCH] ?: --- cycle.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cycle.js b/cycle.js index d23b380..5cc4547 100644 --- a/cycle.js +++ b/cycle.js @@ -1,6 +1,6 @@ /* cycle.js - 2017-06-12 + 2018-05-15 Public Domain. @@ -15,7 +15,7 @@ // The file uses the WeakMap feature of ES6. -/*jslint es6, eval */ +/*jslint eval */ /*property $ref, decycle, forEach, get, indexOf, isArray, keys, length, push, @@ -141,7 +141,7 @@ if (typeof JSON.retrocycle !== "function") { // return JSON.retrocycle(JSON.parse(s)); // produces an array containing a single element which is the array itself. - var px = /^\$(?:\[(?:\d+|"(?:[^\\"\u0000-\u001f]|\\([\\"\/bfnrt]|u[0-9a-zA-Z]{4}))*")\])*$/; + var px = /^\$(?:\[(?:\d+|"(?:[^\\"\u0000-\u001f]|\\(?:[\\"\/bfnrt]|u[0-9a-zA-Z]{4}))*")\])*$/; (function rez(value) {