Thank you, Francis!
That’s great.
Cole
> On Mon, Mar 28, 2016 at 11:30:32PM -0400, Cole Tierney wrote:
>
> Hi there,
>
> > Is it possible to have more than one named capture in a map regex?
>
> In a map regex, yes.
>
> In a "value" part of a map, no.
>
> http://nginx.org/r/map
On Mon, Mar 28, 2016 at 11:30:32PM -0400, Cole Tierney wrote:
Hi there,
> Is it possible to have more than one named capture in a map regex?
In a map regex, yes.
In a "value" part of a map, no.
http://nginx.org/r/map says
The resulting value can be a string or another variable
> When I try
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;
...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