find missing closing brackets
-
I have found the code to search for missing closing quotation marks. Is there one to find missing closing brackets?
-
It would be the same, except use
\\[or\x5Binstead of the first quote (for the part where you want to match the opening bracket). And\\]or\x5Dinstead of the closing quote (to match the closing bracket).Or if you mean
()for brackets, then use\(or\x28for the opening parentheses, and\)or\x29for the closing parentheses.Or if you mean
{}for brackets, then use{or\x7Bfor the opening curly brace, and}or\x7Dfor the closing curly brace.