{"ScriptPreparationCode":"var str = \u0027my {id:name} is piyush{1} and your {id:name2} is rahul{2} and tere {id:chacha} is {id:shaktimaan} and discla {3}\u0027","TestCases":[{"Name":"big string regex match","Code":"var testString = (str\u002B\u0027 | \u0027).repeat(10000)\r\nvar results =[...testString.matchAll(/\\{(id:\\w\u002B)\\}|\\{(\\d\u002B)\\}/gmi)];\r\nvar result = results.join(\u0027#\u0027)\r\n","IsDeferred":false},{"Name":"small string regex multiple match","Code":"var testData = Array(10000).fill()\r\nvar results = testData.map(item =\u003E {\r\nreturn [...str.matchAll(/\\{(id:\\w\u002B)\\}|\\{(\\d\u002B)\\}/gmi)];\r\n})\r\nvar result = results.join(\u0027#\u0027)\r\n\r\n","IsDeferred":false}]}