Welcome! Log In Create A New Profile

Advanced

Re: Nginx Map Multiple Parameter Input

October 12, 2012 01:20PM
On Oct 12, 2012, at 19:14 , rahul286 wrote:

> Yep. When using values across lines, I noticed overwriting.
>
> One last question:
>
> I think using "P" in named capture e.g. "?P<blogpath>" is old style. But
> even on nginx 1.2 also some people get error: "pcre_compile() failed:
> unrecognized character after". It goes away when they update PCRE lib.
>
> For better compatibility, is it good idea to use "P" or is there any
> advantage without "P"?

No advantage, just readability.

?<name> Perl 5.10 compatible syntax, supported since PCRE-7.0
?'name' Perl 5.10 compatible syntax, supported since PCRE-7.0
?P<name> Python compatible syntax, supported since PCRE-4.0

BTW PCRE-7.0 has been released on 19 December 2006, almost 6 years ago.


--
Igor Sysoev
http://nginx.com/support.html

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

Nginx Map Multiple Parameter Input

rahul286 October 12, 2012 08:26AM

Re: Nginx Map Multiple Parameter Input

Igor Sysoev October 12, 2012 08:58AM

Re: Nginx Map Multiple Parameter Input

rahul286 October 12, 2012 09:14AM

Re: Nginx Map Multiple Parameter Input

Igor Sysoev October 12, 2012 09:48AM

Re: Nginx Map Multiple Parameter Input

rahul286 October 12, 2012 10:21AM

Re: Nginx Map Multiple Parameter Input

Igor Sysoev October 12, 2012 10:26AM

Re: Nginx Map Multiple Parameter Input

rahul286 October 12, 2012 10:37AM

Re: Nginx Map Multiple Parameter Input

Igor Sysoev October 12, 2012 10:44AM

Re: Nginx Map Multiple Parameter Input

rahul286 October 12, 2012 10:51AM

Re: Nginx Map Multiple Parameter Input

Igor Sysoev October 12, 2012 10:56AM

Re: Nginx Map Multiple Parameter Input

rahul286 October 12, 2012 11:14AM

Re: Nginx Map Multiple Parameter Input

Igor Sysoev October 12, 2012 01:20PM

Re: Nginx Map Multiple Parameter Input

rahul286 October 13, 2012 12:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready