check for unbalanced braces in regexp
0.1.3