{"ScriptPreparationCode":"var chars = \u0027abcdefghijklmnopqrstuvwxyz\u0027;\r\nvar str = \u0027\u0027;\r\nfor (var i = 0; i \u003C 64; \u002B\u002Bi) { str \u002B= chars.charAt(Math.floor(Math.random() * chars.length)); }\r\nvar pos = Math.floor(Math.random() * str.length);\r\nstr = str.substr(0, pos) \u002B \u0027{{tag}}\u0027 \u002B str.substr(pos);\r\nvar longstr = \u0027\u0027;\r\nfor (var i = 0; i \u003C 10 * 1024 * 1024; \u002B\u002Bi) { str \u002B= chars.charAt(Math.floor(Math.random() * chars.length)); }\r\n","TestCases":[{"Name":"replace","Code":"str.replace(\u0027{{tag}}\u0027, longstr)","IsDeferred":false},{"Name":"regex replace","Code":"str.replace(/{{(\\w[\\.\\w]*)}}/g, (match, arg) =\u003E { return longstr; })","IsDeferred":false}]}