escaped brackets are ignored in capture group