title: Parsing proprietary tag syntax with regex - how to detect nested tags?
body: <p>I want to parse something like this:</p>
  
  <pre><code>Hi [{tagname:content}] [{tag1:xnkudfdhkfujhkdjki diidfo now nested tag
  [{tag2: more data here}] kj udf}]
  </code></pre>
  
  <p>I am using this PCRE regex to get all the data between <code>\[{(.*?)}\]</code> and it works, but not for nested tags. I am not a PCRE expert.</p>