Re: [squid-users] Regex Problem - Squid 3.0STABLE10

From: Henrik K <hege_at_hege.li>
Date: Wed, 3 Dec 2008 08:20:42 +0200

On Wed, Dec 03, 2008 at 06:43:31PM +1300, Amos Jeffries wrote:
> Henrik K wrote:
>> On Mon, Nov 17, 2008 at 03:00:06PM -0800, Jeff Gerard wrote:
>>> Thanks so much...I'll definitely give this a try...but...
>>>
>>> apparently I'm not sure what to do here..
>>>
>>> Should I simply set LDFLAGS="-lpcreposix -lpcre"
>>> then run my ./configure?
>>> or??
>>
>> Right..
>>
>> export LDFLAGS="-lpcreposix -lpcre"
>> ./configure ...
>>
>> And ofcourse make sure you have PCRE library installed.
>> libpcre3-dev for debian etc..
>>
>
> Since it appears to simple I'm looking at making this a proper build option.
>
> Is there someone with expertise in the types of regex. Who can say
> whether or not the pcre library is capable of seamlessly handling the
> old basic regex patterns as well as the pcre patterns?
>
> If it's to be widely available then all the demo, example, and is-use
> patterns need to remain usable.

I don't think a regex implementation can call itself "regex", unless it
supports the standard posix feature set.

Adrian had some comment about PCRE:
http://www.squid-cache.org/bugs/show_bug.cgi?id=2215#c5

You should check first if there are benefits using the native PCRE calls.
Though to the user there should be no visible impact even if you start with
wrapper for now, and enhance it later.
Received on Wed Dec 03 2008 - 06:20:49 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 03 2008 - 12:00:02 MST