Re: [squid-users] Making ban list more spesific.

From: Henrik Nordstrom <[email protected]>
Date: 10 Dec 2002 18:06:47 +0100

By making better regex expressions which is not only dumb words.

Examples:

[./]games[./]

matches the word games surrounded by dots or /

If you are using a modern GNU regex library such as the one included in
GNU libc then you might also be able to use
[[:<:]]games[[:>:]]

See "man 7 regex" for a longer description of regex. regex is a very
powerful language when writing pattern matches.

Regards
Henrik

m�n 2002-12-02 klockan 11.33 skrev Pasi Holmstr�m:
> I have ban list like this:
> porno
> games
>
> wrote in text file.
>
> How can I tell Squid to search only from beginning of the words. So if
> somebody want's to go site where appearas word origames, it will not be
> banned.
> Hope you can understand what I mean.
> PH
Received on Tue Dec 10 2002 - 10:07:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:02 MST