> 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
Received on Wed Jun 18 2008 - 02:26:26 MDT
This archive was generated by hypermail 2.2.0 : Wed Jun 18 2008 - 12:00:03 MDT