+*.gif -image*.gif | Will accept all gif files BUT image1.gif,imageblue.gif,imagery.gif and so on |
-image*.gif +*.gif | Will accept all gif files, because the second pattern is prioritary (because it is defined AFTER the first one) |
Special wild cards can be used for specific characters: (*[..])
* | any characters (the most commonly used) |
*[file] or *[name] | any filename or name, e.g. not /,? and ; characters |
*[path] | any path (and filename), e.g. not ? and ; characters |
*[a,z,e,r,t,y] | any letters among a,z,e,r,t,y |
*[a-z] | any letters |
*[0-9,a,z,e,r,t,y] | any characters among 0..9 and a,z,e,r,t,y |
*[] | no characters must be present after |
Here are some examples of filters: (that can be generated automatically using the
interface)
www.thisweb.com* | This will refuse/accept this web site (all links located in it will be rejected) |
*.com/* | This will refuse/accept all links that contains .com in them |
*cgi-bin* | This will refuse/accept all links that contains cgi-bin in them |
www.*.com/*[path].zip | This will refuse/accept all zip files in .com addresses |
*someweb*/*.tar* | This will refuse/accept all tar (or tar.gz etc.) files in hosts containing someweb |
*/*somepage* | This will refuse/accept all links containing somepage (but not in the address) |
*.html | This will refuse/accept all html files. Warning! With this filter you will accept ALL html files, even those in other addresses. (causing a global (!) web mirror..) Use www.someweb.com/*.html to accept all html files from a web. |
*.html*[] | Identical to *.html, but the link must not have any supplemental characters at the end (links with parameters, like www.someweb.com/index.html?page=10, will be refused) |