Irvine Part31

このエントリーをはてなブックマークに追加
788名無し~3.EXE
ryushare.dms 0.31

if(http.data.match('<div class="err">(You can download files up to \d+ Mb only.)<br>(Please register or purchase premium to download bigger files.)</div>')){
 println(RegExp.$1);
 println(RegExp.$2);
  ↓
if(http.data.match('<div class="err">You can download files up to \d+ Mb only.<br>Please register or purchase <[^>]+>premium</a> to download bigger files.</div>')){
 println(RegExp.$0.replace(/<br>/g, "\n").replace(/<[^>]+>/g, ''));