about summary refs log tree commit diff stats
path: root/freebsd/util.h
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-09-18 18:17:14 -0400
committerJosh Rickmar <jrick@devio.us>2012-09-18 18:17:14 -0400
commit8421b1728ffe8da4b288d76d48d46d96fb4d0dfe (patch)
treec1eacb7cfb3e94dcd3ad7a15506a8a947c5f0eed /freebsd/util.h
parentfe71f63d6a3a945021f0e5745fbf9240d0ea39ee (diff)
downloadxombrero-8421b1728ffe8da4b288d76d48d46d96fb4d0dfe.tar.gz
Add regex support to whitelists
This modifies the whitelist and https forcing code to internally use
unix extended regular expressions to match domains.  The old config
syntax converted to an appropiate regular expression.  Inputing of raw
regular expressions is possible by prepending the string "re:" in
front of a regular expression, for example:

js_wl = re:^(.*\.)*cyphertite\.com$

would be the same as

js_wl = .cyphertite.com
Diffstat (limited to 'freebsd/util.h')
0 files changed, 0 insertions, 0 deletions