<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Find highest level groups within recursive tokens'</title>
    <description>Snipplr comments feed</description>
    <link>https://ipv6.snipplr.com/</link>
    <lastBuildDate>Sun, 19 Apr 2026 19:00:25 +0000</lastBuildDate>
    <item>
      <title>annalog said on 17/Nov/2009</title>
      <link>https://ipv6.snipplr.com/view/23303/find-highest-level-groups-within-recursive-tokens</link>
      <description>&lt;p&gt;This regular expression will find the highest level groups within recursive tokens. For instance, if I have "This is [just [an] example] of the [expression]", it'll find [just [an] example] and [expression], and nothing else. It will also not find an escaped bracket expression. If you want to replace the bracket with curly braces or parenthesis, be careful. As an example, curly braces will be: (?&lt;/p&gt;</description>
      <pubDate>Tue, 17 Nov 2009 16:47:23 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/23303/find-highest-level-groups-within-recursive-tokens</guid>
    </item>
    <item>
      <title>annalog said on 17/Nov/2009</title>
      <link>https://ipv6.snipplr.com/view/23303/find-highest-level-groups-within-recursive-tokens</link>
      <description>&lt;p&gt;well that snippet didn't go in... maybe that way: (?&lt;!\\)\{(\\\{|\\\}|[^\{\}]|(?&lt;!\\)\{.*(?&lt;!\\)\})*(?&lt;!\\)\}&lt;/p&gt;</description>
      <pubDate>Tue, 17 Nov 2009 16:52:09 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/23303/find-highest-level-groups-within-recursive-tokens</guid>
    </item>
    <item>
      <title>annalog said on 17/Nov/2009</title>
      <link>https://ipv6.snipplr.com/view/23303/find-highest-level-groups-within-recursive-tokens</link>
      <description>&lt;p&gt;well that snippet didn't go in... maybe that way: (?&lt;!\\)\{(\\\{|\\\}|[^\{\}]|(?&lt;!\\)\{.*(?&lt;!\\)\})*(?&lt;!\\)\}&lt;/p&gt;</description>
      <pubDate>Tue, 17 Nov 2009 20:15:50 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/23303/find-highest-level-groups-within-recursive-tokens</guid>
    </item>
  </channel>
</rss>
