<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 29, 2016 at 3:31 PM Vaughn Wernersbach <<a href="mailto:Vaughn.Wernersbach@bidstrading.com">Vaughn.Wernersbach@bidstrading.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Does replace support capture groups?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">For instance, I’d like to rename hostname from <a href="http://server.domain.com" target="_blank">server.domain.com</a> to domain.server (so things are better organized on the graphite side).   <u></u><u></u></span></p>
</div></div></blockquote><div>Doesn't look so after a quick look at target_replace.c, but I could be wrong.
<br>If you only have a few domains, however, you could probably do this manually in the target replace section:

<br>    Host "\\<<a href="http://server.example.com">server.example.com</a>\\>" "example.server"<br><br></div><div>Giovanni<br></div><div><pre><br></pre></div></div></div>