Validates matching round, square, and curly brackets. Does not parse strings; use for quick structural checks only.
Input
All delimiters balance.