updated snippets
harmonized TextMatch's group* methods with re's

- the TextMatch objects returned by Text.find() now support the same
subgroup-access commands as the `re` module’s Match objects
- group(), groups(), and groupdict() take the same arguments as their
`re` equivalents but return TextMatch objects in place of strings
(giving you access to layout geometry as well as character-level
information)