Add docstring for brackets.match