match a bracket