<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 16/12/2019 08:06, robert k Wild
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGU_CiJP3mctXH7Bed++hrNReL-PukL=RhrL__oSMkLho-F3Bg@mail.gmail.com">
<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" target="_blank"
moz-do-not-send="true">microsoft.com</a> .<a
href="http://windows.com" rel="noreferrer noreferrer"
target="_blank" moz-do-not-send="true">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" target="_blank"
moz-do-not-send="true">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" target="_blank"
moz-do-not-send="true">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" target="_blank">microsoft.com</a>|.<a
href="http://windows.com" rel="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" 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>
</body>
</html>