Finished tests for verifying particular matches and capture group matches with plain Java.
Added lots of documentation.