Welcome! Log In Create A New Profile

Advanced

multiple named captures in map regex

Cole Tierney
March 28, 2016 11:32PM
Hello,

Is it possible to have more than one named capture in a map regex? When I try the following in a map:
~^/(?<a>.)(?<b>.) $a$b;

...I get [emerg] 28486#0: unknown "a$b” variable. I’ve tried "$a$b” and "${a}${b}” with no change.

I’m running nginx/1.9.6.

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

multiple named captures in map regex

Cole Tierney March 28, 2016 11:32PM

Re: multiple named captures in map regex

Francis Daly March 29, 2016 11:20AM

Re: multiple named captures in map regex

Cole Tierney March 30, 2016 09:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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