<p>I'll have to assign the contents of the replacement group to a variable and then lower that variable and then substitute it back in?</p>
<p>That's three or four vcl lines to accomplish something that seems like a workaround to a bug. :)</p>
<p>-T</p>
<div class="gmail_quote">On Nov 16, 2014 11:56 PM, "Andreas Plesner Jacobsen" <<a href="mailto:apj@mutt.dk">apj@mutt.dk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Nov 16, 2014 at 05:04:36PM -0800, T. Pascal wrote:<br>
><br>
> sub vcl_rec {<br>
>   set req.url = regsub(req.url,"([?].*)",std.tolower("\1"));<br>
> }<br>
<br>
You're lowercasing the string "\1", not the contents of the capturing group.<br>
<br>
--<br>
Andreas<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div>