hi all members,
i've started working on superopener to create a text links only version. i'll post in this thread all the changes i've made to discuss them with your help. this filter is really hard to study but i think here there are some filters guru that could help me.
at first, excuse me for the long (and probably hard to read) message. i know the jd5000 solution but understand his filter is more or less the same of understandig the bpm original, so i've started from bpm version, trying to make no errors.
this is the second part of the original filter set of three parts, in its unmodified form. all my consideration have to be referred to this part.
Name = "Links >^ SUPER-OPENER BETA 37 (aB) (bC)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)"
Bounds = "<as*(<(\|)/a>|(<as) )(^<!-- BPM_(W|A) -->)"
Limit = 450
Match = "<a"
"("
"([^>]++(shref=$AV(*))1[^>]+>)"
"&&"
"((shref=$AV(*)|starget=$AV(_blank|_new)"
"|(sclass=$AV(*))2|(sstyle=$AV(*))3|((s[^ ]+)|>)#))+"
")"
""
"( $NEST(<,(^(\|)/a(^?))*,> )+)4"
""
"("
"<(/a>|as)"
"$SET(6= class="BPM-supero-d")"
"$SET(7=◊)"
"|"
"(&[^; ]++; |[^<] )5"
"($NEST(<,(^(\|)/a(^?))*,> )+ )8"
"<((\|)/a>|as)$SET(7=<font size=-2>◊</font>)"
"|"
"(( (&[^; ]++;|[^<])"
"$NEST( <,(^(\|)/a(^?))*,>)+)++{1,2})5"
"( (&[^; ]++;|[^<])"
" $NEST(<,(^(\|)/a(^?))*,> )+ )8"
"<((\|)/a>|as)"
"|"
"( (&[^; ]++;|[^<])"
" $NEST(<,(^(\|)/a(^?))*,> )+"
"(&[^; ]++;|[^<])"
" (&[^; ]++;|[^<]|$NEST(<,(^(\|)/a(^?))*,> )+)++ )5"
"( (&[^; ]++;|[^<])"
" $NEST(<,(^(\|)/a(^?))*,> )+"
"(&[^; ]++;|[^<])"
" $NEST(<,(^(\|)/a(^?))*,> )+ )8"
"<((\|)/a>|as)"
")"
Replace = "<a123@45</a>"
"<a id=BPM-supero6"
" title=Open?in?new?window"
" target=_blank123>"
"78</a>"
"<!-- BPM_W -->