Implement escaping outside of groups, to allow for matching literal parens.
Disallow adjacent top-level groups because they're ambiguous.