multiple named captures in map regex

Cole Tierney cole.putnamhill at
Tue Mar 29 03:30:32 UTC 2016


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.


More information about the nginx mailing list