title: squid3 blocks url by letters
body: <p>I have problem with regex used in blocking URLS in Squid.</p>
  
  <pre><code>acl porn url_regex "/etc/squid3/porn.txt"
  http_access deny porn
  </code></pre>
  
  <p>porn.txt looks like that</p>
  
  <pre><code>.sex.com
  .redtube.com
  </code></pre>
  
  <p>problem is that this is REGEX rule, and at this point it means, that Squid will be block all URLs containing same letters for example</p>
  
  <pre><code>www.SamE-Xantipa.COM -&gt; contain .sex.com  
  www.REaDy-for-shop-TUBEs.COM -&gt; contain .redtube.com
  </code></pre>
  
  <p>I don't know REGEX syntanx, and don't know how rewrite text file to search only WHOLE TEXT only</p>