Page 1 of 1

@@ whitelisting doesnt work if you have reg exp?

Posted: Thu Jun 30, 2005 8:38 am
by extreme
I have the following two filters

/\.js$/
This blocks all files ending with .js

Then i whitelisted files with this regexp:-
@@/dom*\.js/

With the above combination, a file called domlib.js should have passed through as ok but adblock PLUS blocks it and the first regexp /\.js$/ seems to take effect before the white list @@/dom*\.js/

Now if i put plain @@dom*js
instead of @@/dom*\.js/
Then domlib.js passes through but now when i use regexp?

Posted: Thu Jun 30, 2005 8:41 am
by extreme
never mind figured out the problem 1 minute too late :)
It was my regexp
should be
@@/dom.*\.js/

ewps :)