Show HN: Regex Cheatsheet
Regex are quite simple and useful but my only issue is with those recursive things. Like how do you match balanced brackets? I have a regex (pcre) copy-pasted for it but for the life of me I don&#x27;t get it or maybe nod my head but instantly ununderstand it. I wish there was a simple to understand doc that teaches to me how I can match something like:<p><pre><code>    &quot;(this is inside a bracket (and this is nested or (double nested)))
</code></pre>
P.S. I know token parsing is better for these things but still I just want to learn the other thing too.