Welcome! Log In Create A New Profile

Advanced

RE: How to rewrite these

Glen Lumanau
February 20, 2010 11:36AM
The spaces fixed the problem :)

By the way, if i have only 1, 2, 3, 4, 5 digits of numbers, it's not
redirected


-----Original Message-----
From: Mauro Stettler [mailto:mauro.stettler@gmail.com]
Sent: 20 Februari 2010 21:36
To: nginx@nginx.org
Subject: Re: How to rewrite these

the spaces: "] {" -> "]{".

may i ask why you catch three times two numbers instead of one time six?

On Sat, Feb 20, 2010 at 22:06, Glen Lumanau <glen@lumanau.web.id> wrote:
> Thank's for your prompt reply..
>
> However i tried this
>
> rewrite  "/news/([0-9] {2})([0-9] {2})([0-9] {2})/$"
> http://app.mydomain.com/redirect/application/$1$2$3;
>
> but it doesn't work. What I've missed?
>
>
> -----Original Message-----
> From: Edho P Arief [mailto:edhoprima@gmail.com]
> Sent: 20 Februari 2010 20:56
> To: nginx@nginx.org
> Subject: Re: How to rewrite these
>
> On Sat, Feb 20, 2010 at 8:45 PM, Glen Lumanau <glen@lumanau.web.id> wrote:
>> Is that posibble to detect if (.+) is numbers only?
>>
>
> yes.
>
> the method should be mentioned in any guide about regular expressions.
> Which includes this [1] and this [2].
>
> [1] http://www.regextester.com/pregsyntax.html
>
> [2] http://www.regular-expressions.info/reference.html
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

Re: How to rewrite these

Igor Sysoev February 20, 2010 11:36AM

Re: How to rewrite these

Igor Sysoev February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

Re: How to rewrite these

Igor Sysoev February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

Re: How to rewrite these

edogawaconan February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

Re: How to rewrite these

edogawaconan February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

Re: How to rewrite these

replay February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

Re: How to rewrite these

Benjamin Pineau February 20, 2010 11:36AM

Re: How to rewrite these

replay February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

Re: How to rewrite these

Benjamin Pineau February 20, 2010 12:04PM

Re: How to rewrite these

replay February 20, 2010 12:04PM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

RE: How to rewrite these

Glen Lumanau February 20, 2010 11:36AM

Re: How to rewrite these

Igor Sysoev February 20, 2010 11:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 161
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready