[squid-users] Basic question on refresh_pattern

From: csn233 <csn233_at_gmail.com>
Date: Mon, 25 Mar 2013 13:47:05 +0800

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 43200

From my understanding of regex, the first one refers to any URL
starting with ftp, the second any URL starting with gopher, the third
any URL that contains "cgi-bin" or "?" (case insensitive).

But what does the "." in the last line mean? In regex, AFAIK, it
stands for a single character? So what does it mean in this case?
Received on Mon Mar 25 2013 - 05:47:12 MDT

This archive was generated by hypermail 2.2.0 : Mon Mar 25 2013 - 12:00:06 MDT