public static String removeLeadingSlashes(String path) {
    return SLASH_PREFIX_PATTERN.matcher(path).replaceFirst("");
  }
@Test
  public void removeLeadingSlashes_whenSingleLeadingSlash_removesLeadingSlashes() {
    assertThat(removeLeadingSlashes("/a/b/c/")).isEqualTo("a/b/c/");
  }