9

Python, 59394 59244 58534
Ok here is my solution. I already have some plans to improve this but I'll get this out there so that other people can build off of it.
import re
cache = {0:"<()>"}
def complement(character):
dict = {"(":")","{":"}","<":">","[":"]",")":"(","}":"{",">":"<","...