Search squid archive

Re: pazzled about url_regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tis 2007-02-06 klockan 20:34 +0800 skrev Felix New:
> ALL:
> 
>   i know abou a little perl regular expression, but i'm puzzled about
> url_regex in squid.conf when i use perl regular expression syntax, is
> anythion diff?
> 
>   is url_regex support ! --NOT,&& -- AND, () -- Group?

Quid uses POSIX.2 modern regex, aka extended regex, the same as egrep or
grep -e. This is slightly different from perl regex. 

"man 7 regex"
and
"man egrep".

The exact capabilities depends on the regex library of your OS. Most
regex libraries have extensions beyond the POSIX specifications.

At least braket expressions [...] , grouping (...), repetition ranges x+
x? x{..} and alternatives x|y is supported. Also the special symbols $
and ^, and escaping using the \ character.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux