<div dir="ltr"><div>nice one thanks Amos</div><div><br></div><div>i dont understand as in regex the terms</div><div><br></div><div>^ - start of line<br></div><div>. - any single character</div><div>* - repetition of character before</div><div>$ - end of line<br></div><div><br></div><div> so going by this it should be</div><div><br></div><div>^.*<a href="http://adobe.com">adobe.com</a>$</div><div><br></div><div>how come just</div><div><br></div><div><a href="http://adobe.com">adobe.com</a>$</div><div><br></div><div>as it doesnt know before adobe ie http(s)://www</div><div><br></div><div>sorry for the stupid question<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 27 Jul 2022 at 12:28, Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 27/07/22 21:54, robert k Wild wrote:<br>
> hi all,<br>
> <br>
> think i got it right but just want to double check with you guys<br>
> <br>
> so in my "ssl::server_name" i had<br>
> .<a href="http://adobe.com" rel="noreferrer" target="_blank">adobe.com</a><br>
> <br>
> that worked but i want to mix normal website and regex websites together <br>
<br>
What do you mean "normal website" ? and "regex websites" ?<br>
<br>
<br>
> so i just have one list for all<br>
> <br>
> i now have this for "ssl::server_name_regex"<br>
> ^.*<a href="http://adobe.com" rel="noreferrer" target="_blank">adobe.com</a>$<br>
> <br>
> it works, so im guessing its right<br>
> <br>
<br>
Many things "work" in regex when they are not right.<br>
<br>
As Matus said the dot in the domain needs to be escaped:<br>
<br>
   ^.*adobe\.com$<br>
<br>
<br>
Also, the "^.*" in your pattern does nothing useful, it should be omitted.<br>
<br>
Leaving you with the pattern:<br>
<br>
    adobe\.com$<br>
<br>
<br>
HTH<br>
Amos<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Regards, <br><br>Robert K Wild.<br></div></div>