I'm getting some false positives with 2 of my filters:
*ads* blocks "uploads"
*count* blocks "country" and "countries"
I have tried using regxp but I don't seem to understand the syntax.
*ads* blocks "uploads"
Correct *ads* is no different to ads and appears in the word uploads so it is blocked. Here's a simple regexp filter that will solve that.
http://p2.forumforfree.com/how-to-colle ... kplus.html
- Start and end your filter with '/' to denote it is a regexp filter:
/ads/ - Now if you want to match "/ads/image.jpg" or "/ads-imp.jpg" then we want to match any character before and after "ads" that is not a letter or number to prevent it matching things like "uploads". If you look up the regexp table '\W' will match any character except a letter or number, so:
/\Wads\W/ - If you also want to match "/ad/image.jpg" then the above filter won't work because there is no 's' after 'ad' so it doesn't match. From the table '?' means the previous character can appear 1 or 0 times. So the filter now becomes:
/\Wads?\W/
http://p2.forumforfree.com/how-to-colle ... kplus.html