1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 18:32:45 +01:00

Minor fix

This commit is contained in:
Raymond Hill 2023-05-29 15:05:50 -04:00
parent 36346117ae
commit 2a3a796d33
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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];
}