if(t=str.match(/^((#\d+#)+)/)) o.comments = restore(t[0]); else o.comments = ''; o.name = restore1(cache1['`1'].replace(/[\'\" ]*/g,'')); var i2=str.indexOf(",", 1), i21=str.indexOf("[", i2+1), i22=str.indexOf("]", i2+1), i3=str.indexOf(",", i2+1); if(i21=code.length)index=code.length; var ns=this, cache=ns._Cache2||(ns._Cache2={}); if(cache[code+"^**^"+index])return cache[code+"^**^"+index]; var rf=function(a){return xui.str.repeat(" ", a[0].length)}; var ocode=code; // clear string/reg,comments code = xui.Coder.replace(code, [ // simplify some [/\r\n?|\n/,'\n'], [/(\uFEFF|\xA0|[\t\x0B\f])/, rf], //protect "a" [/"([\w\$])?[\w\.]*"/,'$0'], [/'([\w\$])?[\w\.]*'/,"$0"], // clear string [/"(\\.|[^"\\\n])*"/,rf], [/'(\\.|[^'\\\n])*'/,rf], // clear reg [/\/(\\[\/\\]|[^*\/])(\\.|[^\/\n\\])*\/[gim]*/,rf], // clear comments [/\/\*[^*]*\*+([^\/][^*]*\*+)*\//,rf], [/\/\/[^\n]*/,rf] ]);