How to rewrite these

Glen Lumanau glen at
Sat Feb 20 17:06:25 MSK 2010

Thank's for your prompt reply..

However i tried this

rewrite  "/news/([0-9] {2})([0-9] {2})([0-9] {2})/$"$1$2$3;

but it doesn't work. What I've missed?

-----Original Message-----
From: Edho P Arief [mailto:edhoprima at] 
Sent: 20 Februari 2010 20:56
To: nginx at
Subject: Re: How to rewrite these

On Sat, Feb 20, 2010 at 8:45 PM, Glen Lumanau <glen at> wrote:
> Is that posibble to detect if (.+) is numbers only?


the method should be mentioned in any guide about regular expressions.
Which includes this [1] and this [2].



O< ascii ribbon campaign - stop html mail -

nginx mailing list
nginx at

More information about the nginx mailing list