how in the world do you make a multi-line whitelist work.

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

how in the world do you make a multi-line whitelist work.

Post by Guest_imphany »

how in the world do you make a multi-line whitelist?

I was going for something like

@@/(ad|track)\.(mp(e?g|3)|wav|avi|swf|class)/

meaning anything with "ad" "track" ending in .mp3, .mpg, .mpeg, .wav, .avi ,swf, and .class wouldn't be blocked.
Calain

Post by Calain »

I think, You are almost right. You just missed a .* for any key between (ad|track) and the file ending.
Also you could add $ at the end, as it stands for End of line.

Then it would be:
@@/(ad|track).*\.(mp(e?g|3)|wav|avi|swf|class)$/
Locked