<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
<br>
<a class="moz-txt-link-freetext" href="https://regex101.com/">https://regex101.com/</a><br>
<br>
is great resource......<br>
<br>
Hm?<br>
<br>
07.02.2015 2:06, Walter H. пишет:<br>
<span style="white-space: pre;">> On 06.02.2015 20:38, Amos
Jeffries wrote:<br>
>> On 7/02/2015 8:27 a.m., Amos Jeffries wrote:<br>
>>> On 7/02/2015 8:19 a.m., Walter H. wrote:<br>
>>>> the file blockurls-regex-acl.squid<br>
>>>> contains e.g.<br>
>>>> ^<a class="moz-txt-link-freetext" href="http:\/\/s">http:\/\/s</a>[0-9]\.domain\.tld\/<br>
>>>><br>
>>>> the file allowurls-regex-acl.squid<br>
>>>> contains e.g.<br>
>>>>
^<a class="moz-txt-link-freetext" href="http:\/\/s">http:\/\/s</a>[1-2]+\.domain\.tld\/[a-z0-9\_\-\.]+\.gif<br>
>>>><br>
>>>> the purpose should be, that only gif images of
root directory of only<br>
>>>> the subdomains beginning with s1 or s2 of
domain.tld should be allowed<br>
>> Also, NO that is not what your rules do. Take another
look at all the<br>
>> sub-domains s[1-2]+ will match against...<br>
>><br>
>> s1, s2,<br>
>> s11, s12, s21, s22,<br>
>> s111, s112, s121, s122, s211, s212, s221, s222,<br>
>> s1111 ...<br>
>> ...<br>
>><br>
>><br>
> of, course my mistake ...<br>
>>>> the following url is blocked<br>
>>>><br>
>>>> <a class="moz-txt-link-freetext" href="http://s2443.domain.tld/ghfhfhf.gif">http://s2443.domain.tld/ghfhfhf.gif</a><br>
>>>><br>
>>>> why?<br>
>>> "4" != "\."<br>
>>><br>
> thats right ...<br>
><br>
> should the following be allowed or blocked?<br>
> <a class="moz-txt-link-freetext" href="http://s1.domain.tld/file.gif">http://s1.domain.tld/file.gif</a><br>
> <a class="moz-txt-link-freetext" href="http://s2.domain.tld/file.gif">http://s2.domain.tld/file.gif</a><br>
><br>
> I'd say the must be allowed ...<br>
><br>
> Greetings,<br>
> Walter<br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBAgAGBQJU1SoQAAoJENNXIZxhPexGlCwIALzTWCzuQjVd9zBVX8NdvEav
<br>
dlH0sAAJ8mzTOinFLFfW6djpZKMaXx68NQmNBnSBpg21+N/+Ado6lktzASu2Ktie
<br>
qg+GEZ+tZ8G9bn4vgowb+htoF7btRkH/ahzPq82x56qwomwc5uwMOQUCL07aI+mj
<br>
Uqd+ot+/BIvfKQkgjmR0rFenpexHASTMJdsbDpAd+jkIAUqhOESORgbm/if9s/7u
<br>
oreRwTHw+IUjcsbWJfxMP3zP/fUs/WBa3utX7zn2ngXv+hEmEMM9krUxHCF/nfOP
<br>
+XAYpQNVsmG9v4zgi3iHNtFQt19DkgYvr6uQMq8qCzDPIjirvORw+IiOMHXE9Ls=
<br>
=rBi7
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>