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

2008-12-07 Thread Henrik Nordstrom
ons 2008-12-03 klockan 18:43 +1300 skrev Amos Jeffries: > 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? PCRE only hanles Perl regex, not POSIX r

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

2008-12-02 Thread Henrik K
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="-lpcr

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

2008-12-02 Thread Amos Jeffries
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="-lpcrepos

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

2008-11-18 Thread Amos Jeffries
> Date: Monday, November 17, 2008 11:25 pm > Subject: Re: [squid-users] Regex Problem - Squid 3.0STABLE10 > To: squid-users@squid-cache.org > >> On Mon, Nov 17, 2008 at 03:00:06PM -0800, Jeff Gerard wrote:> > >> Thanks so much...I'll definitely give this a

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

2008-11-18 Thread Jeff Gerard
sweet...had to compile a newer version of PCRE and do a bit of symbolic linking but got it working! Thanks! PS...I like how you set your reply-to address to squid-users :) - Original Message - From: Henrik K Date: Monday, November 17, 2008 11:25 pm Subject: Re: [squid-users] Regex

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

2008-11-17 Thread Henrik K
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 -l

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

2008-11-17 Thread Jeff Gerard
day, November 14, 2008 11:38 pm Subject: Re: [squid-users] Regex Problem - Squid 3.0STABLE10 To: squid-users@squid-cache.org > On Fri, Nov 14, 2008 at 10:00:24PM -0600, Jeff Gerard wrote:> > I have an > acl that I use to block ad sites. One of the > regex's that I use is:

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

2008-11-14 Thread Henrik K
On Fri, Nov 14, 2008 at 10:00:24PM -0600, Jeff Gerard wrote: > I have an acl that I use to block ad sites. One of the regex's that I use > is: > "_ad_". I have discovered that I need to tweak this regex to fail when it > finds the following pattern: http://something.com/path/some_ad_test.js >

[squid-users] Regex Problem - Squid 3.0STABLE10

2008-11-14 Thread Jeff Gerard
I have an acl that I use to block ad sites. One of the regex's that I use is: "_ad_". I have discovered that I need to tweak this regex to fail when it finds the following pattern: http://something.com/path/some_ad_test.js I modified my regex as follows: _ad_(?!test) which should work as far a