@@ whitelisting doesnt work if you have reg exp?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
extreme

@@ whitelisting doesnt work if you have reg exp?

Post 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?
extreme

Post by extreme »

never mind figured out the problem 1 minute too late :)
It was my regexp
should be
@@/dom.*\.js/

ewps :)
Locked