<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Thank you, <span style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">Francis!</span></div><div class=""><br class=""></div><div class="">That’s great.</div><div class=""><br class=""></div><div class="">Cole</div><blockquote type="cite" class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">On Mon, Mar 28, 2016 at 11:30:32PM -0400, Cole Tierney wrote:

Hi there,

><i class=""> Is it possible to have more than one named capture in a map regex?
</i>
In a map regex, yes.

In a "value" part of a map, no.

<a href="http://nginx.org/r/map" class="">http://nginx.org/r/map</a> says

The resulting value can be a string or another variable

><i class=""> When I try the following in a map:
</i>><i class=""> ~^/(?<a>.)(?<b>.) $a$b;
</i>
You can use $a and $b outside the map; but where you have "$a$b", you
must instead have exactly one string or one variable.</pre></blockquote></body></html>