[squid-users] regex for normal websites

Antony Stone Antony.Stone at squid.open.source.it
Wed Jul 27 17:59:09 UTC 2022


On Wednesday 27 July 2022 at 19:25:46, robert k Wild wrote:

> nice one thanks Amos
> 
> i dont understand as in regex the terms
> 
> ^ - start of line
> . - any single character
> * - repetition of character before

Correction: zero or more instances of the character before

> $ - end of line
> 
>  so going by this it should be
> 
> ^.*adobe.com$

Well, that means "start of line, something or nothing, then 'adobe.com' and 
end of line".

So, it basically just means, "adobe,com at the end of the line"


Thus, the same as "adobe.com$"


Antony.

-- 
This space intentionally has nothing but text explaining why this space has 
nothing but text explaining that this space would otherwise have been left 
blank, and would otherwise have been left blank.

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the squid-users mailing list