hi
It doesn't work because shExpMatch requires a shell expression, not a regular expression.
if that's the case then why does this one work
(note: this should all be one line but i've broken it up a bit to stop the board running off the screen)
Code: Select all
|| shExpMatch(url, "/\bads\b|2o7|a1\.yimg|ad(brite|click|farm|revolver|server|
tech|vert)|at(dmt|wola)|banner|bizrate|blogads|bluestreak|burstnet|casalemedia|coremetrics|
(double|fast)click|falkag|(feedster|right)media|googlesyndication|hitbox|httpads|imiclk|intellitxt|
js\.overture|kanoodle|kontera|mediaplex|nextag|pointroll|qksrv|speedera|statcounter|tribalfusion|webtrends/")
because mine if just a shortened down version of this and this one works but mine doesn't ??? the question is why ??? what's so different ???
i'm not sure if i did understand your message.
But, why do you wanna use regexp filters, those are hard to understand, and if you have a problem, you must fix, delete or disable whole regexp filter.
according to this:
http://adblockplus.org/en/deregifier
Code: Select all
/ad(brite|click|farm|revolver|server|tech|vert|vertising|banner)/
it's same as these simple filters:
Code: Select all
adbanner
adbrite
adclick
adfarm
adrevolver
adserver
adtech
advert
advertising
you have already answered your own question
the reasion I'm trying to use regular expression's is so i can avoid having individual filters for everything because that makes for a very long filter list and that is causing slowdowns
I'd rather just group similar filters together its quicker and more efficient because as soon as the filter gets a hit it stops checking and goes on to the next filter where as for individual filters it must check everyone filter against the contents that is loading so as you can see with very big filter lists this is inefficient
now as a rule of thumb i would agree that simple is better but in this case simple isn't good enough the filter list is just to long and is slowing down browsing unnecessarily