Regex to split “){” to two lines, retaining indenting

I was quite proud to come up with this, so here’s my first blog post for a while:



and as a bonus:

NB (2013-09): it seems that the escaping slashes in this post were lost  at some point, I’ve put them back, but not tested!

Leave a Reply

Your email address will not be published. Required fields are marked *