Re: [squid-users] Url_regex and Special Characters

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 28 Sep 2004 02:06:26 +0200 (CEST)

On Mon, 27 Sep 2004, Jacob S wrote:

> My question is, how do I get the url_regex to match on characters that
> are special to regexes, like ? = ., etc.?

\. is a literal .
\? is a literal ?

= or , is not special characters within regex.

man 7 regex

> I have tried using a \ to escape the special characters, but that
> doesn't seem to be working.

It does work.

Can you be a little more precise on what you have tried and in what
context it did not work.

> is the documentation really as old as version 2.4 of squid?

2.4 documentation is not old when it comes to this kind of things.

Regards
Henrik
Received on Mon Sep 27 2004 - 18:06:29 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT