On 28/12/2015 5:30 p.m., SaRaVanAn wrote:
> Thanks for prompt response.
> 
> I want to match all the URL's which has a pattern of "wsj" (example: *.
> wsj.com, *.wsj.net, *.wsj.edu ) . Does wildcard makes sense in squid
> refresh pattern? Can we have something like this?
> 
>  refresh_pattern -i ^http://*\.wsj\.*/ 10 200% 10 \
>     override-expire reload-into-ims
> 

Of course. It is a regex pattern. The problem is your own understanding
of regex, so the patterns you are designing are not doing anything like
what you want.

<http://regexone.com/> might help you there.

Amos

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to