From 2a3a796d338beb9567c61886d110cd5b7bcdae0b Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 29 May 2023 15:05:50 -0400 Subject: [PATCH] Minor fix --- assets/resources/scriptlets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/resources/scriptlets.js b/assets/resources/scriptlets.js index e353ba08f..2081017c9 100644 --- a/assets/resources/scriptlets.js +++ b/assets/resources/scriptlets.js @@ -1050,7 +1050,7 @@ function evaldataPrune( self.eval = new Proxy(self.eval, { apply(target, thisArg, args) { let dataToEval = `${args[0]}`; - const match = /^\s*\(\s*(\{.+\})\s*\)\s*$/.exec(dataToEval); + const match = /^\s*\(\s*(\{.+\})\s*\)\s*$/s.exec(dataToEval); if ( match !== null ) { dataToEval = match[1]; }