Jonathan Matthews
March 15, 2014 01:50PM
On 15 Mar 2014 17:30, "gokhanege" <nginx-forum@nginx.us> wrote:
>
> Where is the problem? I cound not found it.

Your problem is that all of your .* matches are greedy, whereas you
(probably) want only the last to be greedy. Have a Google for how to do
that with regular expressions.

You also might want to replace /some/ of your "(.*)" with "([^-]*)" if they
should /never/ contain hyphens.

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

Nginx getting last variables on exploded uri

gokhanege March 15, 2014 01:30PM

Re: Nginx getting last variables on exploded uri

Igor Sysoev March 15, 2014 01:44PM

Re: Nginx getting last variables on exploded uri

gokhanege March 15, 2014 02:11PM

Re: Nginx getting last variables on exploded uri

Jonathan Matthews March 15, 2014 01:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 290
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