hash.purge

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Jul 8 08:08:42 CEST 2008


In message <5E3D7B68-A4C6-46E6-A16B-2049D71D78B1 at F4.ca>, Skye Poier Nott writes
:
>Answering my own questions again... yes, regex in the host part does  
>seem to work!  Cool!
>
>However I noticed escaping dots doesn't seem to work as normal:
>
>hash.purge #w...6\.example\.com#$
>100 41
>Syntax Error: Invalid backslash sequence

You need to escape the '\' in the CLI:

	hash.purge #w...6\\.example\\.com#$

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list