New bracket matching utility