that doesn't do what you think it does. it will fail on
http://www.example.com/events/events?node=&start=0&size=0&sort=event
http://www.example.com/events/events?node=&start=0&size=1&sort=event
http://www.example.com/events/events?node=&start=0&size=11&sort=event
http://www.example.com/events/even
As usual lots of great inoput, but here is what seems to work for me testing it against some actula URLs:^http://www\\.example\\.com/events/events?.*size=[^10].*Just using size does not equal 10.
Original Message
Subject: Re: [nyphp-talk] REGEXP Solution Needed
From: John Camp
On Wed, Sep 8, 2010 at 10:27 PM, wrote:
> I believe this is what I am looking for:
> ^http://www\\.example\\.com/events/events?.*size=[\d|\d\d^10].*
Test that, but I am quite sure it doesn't do what you want. I think
you need negative lookahead, which typically has syntax like
size=(?!10)
but
On 09/08/2010 09:27 AM, p...@blu-studio.com wrote:
I believe this is what I am looking for:
^http://www\\.example\\.com/events/events?.*size=[\d|\d\d^10].*
If anyone can polish this more or if I am wrong, pls give a note. Thanks.
Good putting the carat at the front -- I forgot that in my la
That's not going to do it for you. This should work:
[?&]size=((?!10)|\d|1[1-9]|[02-9]\d|\d{3,})(&|#|$)
The end chunks force this to match a param (i.e. they ensure that it
actually starts and ends with query string delimiters).
The "size=" part is obvious.
The mess in the middle says "any
On 09/08/2010 07:30 AM, p...@blu-studio.com wrote:
Using GNU Regular Expressions I need to examine an URL like those
below, checking the size key and value, I need to capture and block
all URLs where 'size does not equal 10'. In other words "size=12", not
acceptable.
...
All around size, the o
I believe this is what I am looking for: ^http://www\\.example\\.com/events/events?.*size=[\d|\d\d^10].*If anyone can polish this more or if I am wrong, pls give a note. Thanks.
Original Message
Subject: Re: [nyphp-talk] REGEXP Solution Needed
From:
Date: W
This is a great technique, thanks, Scott.But, I'm putting this into the Do Not Crawl front end of a google search appliance and it has to be done with gnu regexp. So I've been working on it and I got something like this for starters:^http://www\\.example\\.com/events/events\\?\.size=[\d|\d\d^10]\.W
On 09/08/2010 08:30 AM, p...@blu-studio.com wrote:
Using GNU Regular Expressions I need to examine an URL like those below,
checking the size key and value, I need to capture and block all URLs
where 'size does not equal 10'. In other words "size=12", not
acceptable.
Regular expressions are exp
Using GNU Regular Expressions I need to examine an URL like those below, checking the size key and value, I need to capture and block all URLs where 'size does not equal 10'. In other words "size=12", not acceptable. Here are examples...Good URL pattern (size=10): http://www.example.com/events/even
10 matches
Mail list logo