Escape brackets for grep.