@Test
public void delimit_match() {

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