<div dir="auto">Would this work aswell<div dir="auto"><br></div><div dir="auto"><div dir="auto" style="font-family:sans-serif;font-size:12.8px">refresh_pattern -i /etc/squid/wu.txt<a href="http://microsoft.com/.*%5C.%28cab%7Cexe%7Cms%5Bi%7Cu%7Cf%5D%7C%5Bap%5Dsf%7Cwm%5Bv%7Ca%5D%7Cdat%7Czip%29" style="text-decoration-line:none;color:rgb(66,133,244)">/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip)</a> 4320 80% 43200 reload-into-ims<br></div><br></div><div dir="auto">And in wu.txt</div><div dir="auto"><br></div><div dir="auto">.<a href="http://microsoft.com">microsoft.com</a></div><div dir="auto">.<a href="http://windows.com">windows.com</a></div><div dir="auto">.<a href="http://windowsupdate.com">windowsupdate.com</a></div><div dir="auto"><br></div><div dir="auto">Exactly like my dstdomain</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 16 Dec 2019, 08:37 Alex Crow, <<a href="mailto:alex@nanogherkin.com">alex@nanogherkin.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>On 16/12/2019 08:06, robert k Wild
wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">How can I make a pattern that matches multiple
domains please Amos? </div>
<br>
<div class="gmail_quote"><br>
<blockquote class="gmail_quote">
> <br>
> refresh_pattern -i .<a href="http://microsoft.com" rel="noreferrer noreferrer noreferrer" target="_blank">microsoft.com</a> .<a href="http://windows.com" rel="noreferrer noreferrer noreferrer" target="_blank">windows.com</a><br>
> .<a href="http://windowsupdate.com/.*%5C.(cab%7Cexe%7Cms%5Bi%7Cu%7Cf%5D%7C%5Bap%5Dsf%7Cwm%5Bv%7Ca%5D%7Cdat%7Czip)" rel="noreferrer noreferrer noreferrer" target="_blank">windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip)</a><br>
> <<a href="http://microsoft.com/.*%5C.%28cab%7Cexe%7Cms%5Bi%7Cu%7Cf%5D%7C%5Bap%5Dsf%7Cwm%5Bv%7Ca%5D%7Cdat%7Czip%29" rel="noreferrer noreferrer noreferrer" target="_blank">http://microsoft.com/.*%5C.%28cab%7Cexe%7Cms%5Bi%7Cu%7Cf%5D%7C%5Bap%5Dsf%7Cwm%5Bv%7Ca%5D%7Cdat%7Czip%29</a>> 4320<br>
> 80% 43200 reload-into-ims<br>
> </blockquote>
</div>
</blockquote>
<p><br>
</p>
<p>That's not really a subject for this list - search online for
"regex" and you will see multiple tutorials about it.</p>
<p>You use a syntax like "(.<a href="http://microsoft.com" rel="noreferrer noreferrer noreferrer" target="_blank">microsoft.com</a>|.<a href="http://windows.com" rel="noreferrer noreferrer noreferrer" target="_blank">windows.com|(</a>.<a href="http://windowsupdate.com/.*%5C.(cab%7Cexe%7Cms%5Bi%7Cu%7Cf%5D%7C%5Bap%5Dsf%7Cwm%5Bv%7Ca%5D%7Cdat%7Czip)" rel="noreferrer noreferrer noreferrer" target="_blank">windowsupdate.com/.*\.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip)|foo.com)"</a></p>
<p>eg (x|y|z(a|b)) would match x, y, za and zb.</p>
<p>Cheers</p>
<p>Alex<br>
</p>
</div>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>