{"ScriptPreparationCode":"function rn() {\r\n return (Math.random() * 1000).toFixed(3)\r\n}\r\n\r\nfunction rx(v) {\r\n return v.replace(/\\.?0\u002B/, \u0027\u0027)\r\n}\r\n\r\nfunction rw(v) {\r\n let r = v\r\n while (r.endsWith(\u00270\u0027)) {\r\n r = r.slice(0, r.length - 1)\r\n }\r\n if (r.endsWith(\u0027.\u0027)) {\r\n r = r.slice(0, r.length - 1)\r\n }\r\n return r\r\n}","TestCases":[{"Name":"regex","Code":"rx(rn())","IsDeferred":false},{"Name":"while","Code":"rw(rn())","IsDeferred":false}]}