@Test
public void delimit() {

  assertThat(first(',').delimit("foo").map(Match::toString))
      .containsExactly("foo");
  assertThat(first(',').delimit("foo, bar").map(Match::toString))
      .containsExactly("foo", " bar");
  assertThat(first(',').delimit("foo,").map(Match::toString))
      .containsExactly("foo", "");
  assertThat(first(',').delimit("foo,bar, ").map(Match::toString))
      .containsExactly("foo", "bar", " ");
}