On 10/05/2016 11:45 PM, Amos Jeffries wrote: > On 6/10/2016 11:56 a.m., Jose Torres-Berrocal wrote: >> acl whitelist2 dstdom_regex -i "whitelist.acl" >> >> Where whitelist.acl content: >> ^familymedicinepr\.com$ >> ^mail\.yahoo\.com$ >> ^neodecksoftware\.com$ >> ^office\.net$ >> \.familymedicinepr\.com$ >> \.mail\.yahoo\.com$ >> \.neodecksoftware\.com$ >> \.office\.net$ > There is a simpler way if you are going to insisit on regex instead of > dstdomain. Starting the pattern with an optional '.' character: \.? > > So whitelist.acl content: > > \.?familymedicinepr\.com$ > \.?mail\.yahoo\.com$ > \.?neodecksoftware\.com$ > \.?office\.net$ That simpler way is incorrect AFAICT: The top/correct ACL list does not match "xoffice.net" but yours does. Alex. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users