By "many changes" I mean that my approach is simply to match number of right brackets against number of left brackets which would return true even in following cases
For additional constraints, you'll have to think about combination of possible correct/incorrect cases before you could claim that your script is working as expected.
In reply to Re^3: IT's not counting...
by samarzone
in thread IT's not counting...
by Dwood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |