How do you match parentheses if you don't know the syntax of what's "in the middle"?