Matching_brackets

Just a simple little thing… I want to match curly-brackets in code…
Turns out: I can’t do it!

There is no regex that can do it. You can look ahead and look around all you want.

You can not just match char:{ with char:} ..
Because: What about puts '}HELLO{' or regx = /\{/ ?

You’d need to start code-parsing.. and I do not have that skill.