代码的原理很简单,就是取前十期时时彩开奖号码,二二位组合成一批正则。。
比如 25390 就会组成四个正则
25\d\d\d
\d53\d\d
\d\d39\d
\d\d\d90
这样。至少对前几期来说,这个杀号率正确率是非常之高的。再配上事先准备好的五星大底。一缩水。基本上就是5W注了。一半一半。
话不多说,上代码了。
import win; import win.ui; import console; /*DSG{{*/ var winform = ..win.form(text="aardio form";right=687;bottom=463) winform.add( button={cls="button";text="缩TMD水";left=552;top=8;right=680;bottom=64;z=3}; edit={cls="edit";text="edit";left=8;top=368;right=272;bottom=456;dl=1;dt=1;edge=1;multiline=1;vscroll=1;z=1}; edit3={cls="edit";text='data="";\n$(\'.jspPane p span\').each(function(){\n data = data + $(this).text().replace(/\\s/g,\'\') + \'\\r\n\';\n);\ndata';left=280;top=368;right=544;bottom=456;dl=1;dt=1;edge=1;multiline=1;vscroll=1;z=4}; LB_L1={cls="static";text="0 注";left=568;top=88;right=672;bottom=120;align="center";transparent=1;z=6}; TB_Number={cls="edit";left=232;top=8;right=544;bottom=360;dl=1;dt=1;edge=1;multiline=1;vscroll=1;z=2}; TB_Reg={cls="edit";left=8;top=8;right=112;bottom=360;dl=1;dt=1;edge=1;multiline=1;vscroll=1;z=5}; TB_Rs={cls="edit";text="edit2";left=120;top=8;right=224;bottom=360;dl=1;dt=1;edge=1;multiline=1;vscroll=1;z=7} ) /*}}*/ winform.edit.text = string.load("\五星.txt"); winform.button.oncommand = function(id,event){ //winform.msgbox( winform.button.text ); var num = winform.edit.text; winform.TB_Reg.text = string.replace(winform.TB_Reg.text,"@@""",""); var reg = string.split(winform.TB_Reg.text,'<\r\n>'); //制造正则 var rs = reg[1]; for(i=1;#reg;1){ var tmp = string.split(reg[i],""); rs = rs ++ '\r\n' ++ tmp[1] ++ tmp[2] ++ "\d\d\d"; rs = rs ++ '\r\n' ++ "\d" ++ tmp[2] ++ tmp[3] ++ "\d\d"; rs = rs ++ '\r\n' ++ "\d\d" ++ tmp[3] ++ tmp[4] ++ "\d"; rs = rs ++ '\r\n' ++ "\d\d\d" ++ tmp[4] ++ tmp[5]; } winform.TB_Rs.text = rs; reg = string.split(winform.TB_Rs.text,'<\r\n>'); //开始循环过滤要杀的号 for(i=1;#reg;1){ if( reg[i]=="" ){ break; } num = string.replace( num, reg[i] ++ "\s", ""); winform.LB_L1.text = i ++ "/" ++ #reg; win.delay(1) } winform.TB_Number.text = num; winform.LB_L1.text = #(string.split(num,' ')) ++ " 注"; import win.clip; win.clip.write( num ); win.msgbox("搞定!"); } winform.show(); win.loopMessage();
发表评论