{"ScriptPreparationCode":"var cache = {}\r\nconst regexps = [\r\n /^((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$/,\r\n /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6011[0-9]{12}|622((12[6-9]|1[3-9][0-9])|([2-8][0-9][0-9])|(9(([0-1][0-9])|(2[0-5]))))[0-9]{10}|64[4-9][0-9]{13}|65[0-9]{14}|3(?:0[0-5]|[68][0-9])[0-9]{11}|3[47][0-9]{13})*$/,\r\n /[^@/]\u002B@[^@/]\u002B/,\r\n /\\\\s\u002B/,\r\n /[^a-zA-Z0-9]/,\r\n /^$/,\r\n /^[1-9]\u002B[0-9]*$/,\r\n /(^\\d*\\.?\\d*[0-9]\u002B\\d*$)|(^[0-9]\u002B\\d*\\.\\d*$)/,\r\n /^-?[0-9]{0,2}(\\.[0-9]{1,2})?$|^-?(100)(\\.[0]{1,2})?$/,\r\n]\r\nconst sources = regexps.map(r =\u003E r.source)\r\nregexps.forEach(r =\u003E {\r\n cache[r.source] = r\r\n})\r\n\r\nconst n = sources.length\r\nconst floor = Math.floor\r\nconst random = Math.random\r\nfunction getRandomSource () {\r\n return sources[floor(random() * n)]\r\n}","TestCases":[{"Name":"constructor","Code":"window.result = new RegExp(getRandomSource())","IsDeferred":false},{"Name":"memoize","Code":"window.result = cache[getRandomSource()]","IsDeferred":false},{"Name":"common boilerplate","Code":"window.result = getRandomSource()","IsDeferred":false}]}