add spec for rex \)
accept escaped brackets in groups
simplify the \\ escaping