Added test cases for groups and non-capturing groups. Refs #3.
Added another test case for a group containing multiple subpatterns. This adapts the example I wrote for the documentation. Refs #3.
Added an example to the README for a capturing group. Fixes #3.