[squid-users] Regex for URL to include numbers special letters

Amos Jeffries squid3 at treenet.co.nz
Sat May 21 08:25:11 UTC 2022


On 21/05/22 19:20, robert k Wild wrote:
> Thanks Amos,
> 
> What about if I wanted to put a normal URL in with the URL regex ones like
> 
> ^zzz-iobuckets-io[0-9]+-[0-9a-z]+\.s3\.amazonaws\.com:[0-9]$
> ^google\.com$
> 
> Would that work
> 

I'm not sure what you mean, neither of those match a URL.

A *normal URL* looks like " https://example.com/ ".

A URI-authority looks like " example.com:80 ".


Amos


More information about the squid-users mailing list