assertions.like: DRYed  `get_match_for_text()`