Proxomitron フィルター作成スレッド Part3

このエントリーをはてなブックマークに追加
519名無しさん@お腹いっぱい。
[Patterns]
Name = "Google ADD Link (05-09-28)"
Active = TRUE
URL = "$TYPE(htm)(www.google.co(m|.jp)|$LST(GoogleIP))(:80|)/search\?*q=(^cache:)"
Limit = 1024
Match = "(<font size=-1><b><a href="/intl/ja/options/" class=q>more)\1$URL(*\?*q=([^&]+)\8)"
"(($TST(\8=[a-z0-9_\+\-]+)|$URL(*\?*ie=(shift_jis|sjis)))$SET(7=s.cgi\?k=\8\&o=r)|)"
"$SET(0=\n<font size=-1><a href="http://gulab.ruitomo.com/\7">2ch-thread</a>  \n)"
"|"
"<b>(^(^\[[a-z]+\]</b></font></span>))"
"$SET(0=<b style="color:#F0E68C; background:#BA55D3; font-size:large;" > )"
"|"
"(<a class=fl href=$AV(*=cache:[^:]+:([^+]+)\9\+*)*</a>)\0"
"$SET(1=\n - <a class=fl href="http://web.archive.org/web/\*/http://\9">Internet archive</a>\n - "
"<a class=fl href="http://www.excite.co.jp/world/english/web/\?wb_url=http://\9">Eng to Jp</a>\n)"
"|"
"(^(^<br clear=all>))$STOP()"
Replace = "\0\1"

GNUに基づいてインスパイヤ。