assertThat(grep.matches("/dir/style.css"), is(true));
assertThat(grep.matches("/script.js"), is(false));
assertThat(grep.matches("/dir/script.js"), is(false));
assertThat(grep.matches("/restricted"), is(true));
assertThat(grep.matches("/restricted/secret"), is(true));
assertThat(grep.matches("/restricted/secret.pdf"), is(true));
assertThat(grep.matches("/open"), is(false));
assertThat(grep.matches("/open/restricted"), is(false));
}