<div dir="auto">Thank you guys,<div dir="auto"><br></div><div dir="auto">Tbh I didn't think regex would be more CPU intense so thanks for that</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 9 Jul 2023, 16:04 Matus UHLAR - fantomas, <<a href="mailto:uhlar@fantomas.sk">uhlar@fantomas.sk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08.07.23 13:07, robert k Wild wrote:<br>
>True but I don't want to create two ACL lists, one for "ssl name" and one<br>
>for "ssl name regex"<br>
<br>
try only create one for ssl name. You rarely need regex.<br>
performance will thank youl<br>
<br>
>On Sat, 8 Jul 2023, 12:57 Matus UHLAR - fantomas, <<a href="mailto:uhlar@fantomas.sk" target="_blank" rel="noreferrer">uhlar@fantomas.sk</a>> wrote:<br>
><br>
>> On 07.07.23 21:13, robert k Wild wrote:<br>
>> >i know ive been talking about this before but i want to understand why i<br>
>> >cant use this regex<br>
>> ><br>
>> >(^|.*)<a href="http://redshift3d.com" rel="noreferrer noreferrer" target="_blank">redshift3d.com</a>$<br>
>> ><br>
>> >instead i have to use this<br>
>> ><br>
>> >(^|\.)<a href="http://redshift3d.com" rel="noreferrer noreferrer" target="_blank">redshift3d.com</a>$ OR<br>
>> ><br>
>> >(^|\.)redshift3d\.com$<br>
>> ><br>
>> >for strings<br>
>> ><br>
>> ><a href="http://www.redshift3d.com" rel="noreferrer noreferrer" target="_blank">www.redshift3d.com</a><br>
>> ><a href="http://activate.redshift3d.com" rel="noreferrer noreferrer" target="_blank">activate.redshift3d.com</a><br>
>> ><a href="http://redshift3d.com" rel="noreferrer noreferrer" target="_blank">redshift3d.com</a><br>
>><br>
>> AFAIK "dstdomain .<a href="http://redshift3d.com" rel="noreferrer noreferrer" target="_blank">redshift3d.com</a>"<br>
>><br>
>> matches the same, but without complicated, cpu-expensive and hardly<br>
>> readable<br>
>> regular expressions<br>
<br>
-- <br>
Matus UHLAR - fantomas, <a href="mailto:uhlar@fantomas.sk" target="_blank" rel="noreferrer">uhlar@fantomas.sk</a> ; <a href="http://www.fantomas.sk/" rel="noreferrer noreferrer" target="_blank">http://www.fantomas.sk/</a><br>
Warning: I wish NOT to receive e-mail advertising to this address.<br>
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.<br>
Depression is merely anger without enthusiasm.<br>
_______________________________________________<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>