<div class="markdown">
<p dir="auto">On 28 Apr 2015, at 17:55, Joe Abley wrote:</p>

<blockquote>
<p dir="auto">dnsop.ietf.org -> org.ietf.dnsop<br>
[...]<br>
Maybe I could do something similar with regular expressions and back-references? Note that I don't know in the general case how many labels are in the list-id identifier.</p>

<p dir="auto">The format string description in the manual is a bit brief. Is there a way to do this?</p>
</blockquote>

<p dir="auto">I think your only option is regular expression, but I don't think there is “nice” way to do it. You'll have to match on 3, 4, 5, etc. up to the maximum number of items in the identifiers. I'd love to be proven wrong though. Here is an example with levels 3 and 4:</p>

<pre><code>${list-id.identifier/([^.]+)\.([^.]+)\.([^.]+)\.([^.]+)|([^.]+)\.([^.]+)\.([^.]+)/${4:+$4.$3.$2.$1}${7:+$7.$6.$5}/}
</code></pre>

<p dir="auto">It first tries to match 4 and then it tries to match 3.</p>

<p dir="auto">I hope this helps.</p>

<p dir="auto">-- <br>
Benny</p>

</div>