Only matches brackets if there is no selection