> Is the regex wildcard for refresh_pattern a '.*' or just a '.'.

. and * have the same meaning in Squid as in any other regex system. We
use the OS regex libraries to interpret them.
'.' means any single character, * means none-or-more repeating.


> I want to apply a pattern match to some specific jar files that fit a
> pattern of 'name.jar-serialnumber.zip'
>
>
> Would the correct pattern match then be 'refresh_pattern -i name.jar.*'
> ?

Just to be sure it only matches them, I'd use:
   -i name\.jar-[^\.]+\.zip

Amos

Reply via email to