Add support for compiled match (cre2_match) and full match, along with some tests.