[squid-users] whats wrong with this url regex line
Brett Lymn
brett.lymn at baesystems.com
Sun Jan 19 22:38:22 UTC 2020
On Sun, Jan 19, 2020 at 10:22:56PM +1300, Amos Jeffries wrote:
>
> It should work without the anchor and suffix. Perhapse the URL is not
> actually that string?
>
Yes it will work without the anchor but using an anchor can make the
regex faster because it then does not have to scan the whole string for
a match. So if you know that the string you are looking for must be
right at the start of the string then it is much better to use the ^
anchor to let the regex library know that.
--
Brett Lymn
This email has been sent on behalf of one of the following companies within the BAE Systems Australia group of companies:
BAE Systems Australia Limited - Australian Company Number 008 423 005
BAE Systems Australia Defence Pty Limited - Australian Company Number 006 870 846
ASC Shipbuilding Pty Limited - Australian Company Number 051 899 864
BAE Systems Australia's registered office is Evans Building, Taranaki Road, Edinburgh Parks, Edindurgh, South Australia, 5111.
ASC Shipbuilding's registered office is Level 2, 80 Flinders Street, Adelaide, South Australia, 5000.
If the identity of the sending company is not clear from the content of this email, please contact the sender.
This email and any attachments may contain confidential and legally privileged information. If you are not the intended recipient, do not copy or disclose its content, but please reply to this email immediately and highlight the error to the sender and then immediately delete the message.
More information about the squid-users
mailing list