URL regexp | Filters Applied | Action |
---|
For every page you request with your browser, FilterProxy will compare its URL to the 'URL regexp' list above. If one (or more) match, it will apply the filters listed for that regexp. A regexp is a Regular Expression, and gory details can be found by running 'man perlre'. The basics are summarized below. These regexps are case-insensitive.
If more than one regexp matches your URL, each of the configurations is
passed to the respective modules.
Regular Expression Overview
regexp string | Will match |
---|---|
.* | all sites |
. | any single character |
* | causes the expression that preceeds it to be matched 0 or more times |
+ | causes the expression that preceeds to be matched 1 or more times |
? | causes the expression that preceeds it to be matched 0 or 1 times |
[a-z] | any of the characters in the brackets will match |
[^a-z] | any character but those brackets will match |
() | Use to group expressions |
http://www.somewhere.com | http://wwwAsomewhereAcom, http://www.somewhere.com |
http://www\.somewhere\.com | http://www.somewhere.com |
http://(www\.)?somewhere\.com | http://www.somewhere.com, http://somewhere.com |
http://([a-z]*)?\.somewhere\.com | http://juniper.somewhere.com, http://www.somewhere.com, BUT NOT http://somewhere.com (note leading \.) |
Hopefully you get the idea. If you need more info, consult perl's "perlre" manual page.