Fixed, although I don't really know the reason why "<p" was also being matched.
What I changed was (div|p|li) to (div|li).
The reason for the duplicate images is because of:
Code:
<li><p class=g style="margin-top:0"><span class=med>Results for: <b>showimage.htm</b></span>
Note the "<p class=g".
This updated filter also seems to prevent the "Results for: showimage.htm" being included in the alternating row colours system.
Code:
[Patterns]
Name = "Google Search: Alternate Display 9.01.30 (multi) [sd] (d.s) ku-20090208b"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.google.[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))$SET(keyword=$TST(keyword=\1.(i_layout:[#*:0].)+\2)\1.i_layout:2.\2)"
Limit = 2048
Match = "(^?)$SET(a=)$SET(b=)$STOP()"
"|"
"<br>((\r|)\n$SET(1= )| <br>( <table)\2$SET(1=</p><br class=mainspace>\2))"
"|"
"<("
"/b> of (about )+<b>[0-9,]+</b> ((from|over the) $NEST(<b>,</b >) )+for <b>( <b>)+[^<]+"
"&&((<*>|?)+{95})\2???$SET(1=<\2...\3\4\5)*|$SET(1=<\2\3\4\5)\2"
")(*</table > )\3(<div(^ id=)$INEST(<div,>)$SET(5=<div)|)$SET(4=<div id="topspace"> </div>\r\n)"
"|"
"<style(^$TST(b=s))$SET(b=s)$SET(1="
"<script>"
"var prxSpics=["http://local.ptron/sidki_h_$GET(cfg)/Google/google-","
"new Image(),new Image(),new Image()];"
"prxSpics[1].src=prxSpics[0]+"bug.png";prxSpics[2].src=prxSpics[0]+"top.png";"
"prxSpics[3].src=prxSpics[0]+"new.png";"
"</script>"
"<style id="themed""
")"
"|"
"<div ("
"id=("
"$AV(ie6tb)>$INEST(<div,</div)</div >( $NEST(<script,</script >))+"
"|$AV(exp_msgs)$INEST(<div,</div)</div >"
")"
"|style=$AV(margin : -5px 0 5px)$INEST(<div,</div)</div >"
")"
"|"
"<(div|li)\2 class="
"$AV(g)("
"((^ style=$AV(margin-(left|right)*))($TST(a=odd)$SET(a=even)|$SET(a=odd))|)$SET(#=$GET(a))"
")(*<a)\#"
"(*( href=$AV(/interstitial\?url\=h\9|([^/]+//[^/]+/)\9?*|*))\5*</a >)\4\6( <br>|( <table)\7)"
"($TST(\9=t$SET(0="
"<a href="h\9"><img src="http://local.ptron/sidki_h_$GET(cfg)/Google/google-bug.png""
" width=16 height=10 border=0 title="Malware warning!"></a> "
")*|$SET(0="
"<a href="\9"><img src="http://local.ptron/sidki_h_$GET(cfg)/Google/google-top.png""
" width=10 height=10 border=0 title="Go to top domain"></a> "
")*)|)"
"$SET(1="
"<\2 class=g \#\#\4 \0"
"<a\5 target=_blank><img src="http://local.ptron/sidki_h_$GET(cfg)/Google/google-new.png""
" width=14 height=10 border=0 title="Open in new window"></a> "
"\6<br class=mainspace><br class=mainspace>\7"
")"
"|"
"<hr size=1 align=left color=#c9d7f1 width=65%>$SET(1=<hr size=1 align=left color=#c9d7f1 width=100%>)"
Replace = "\1"