Work towards regex groups.
A simple one works.
Fix an initialisation issue with groups.
Add a multi-group test, which fails.