@Override
    public String toString() {
      return MoreObjects.toStringHelper(this).addValue(pattern).toString();
    }
{@code PathMatcher} that matches the {@code toString()} form of a {@code Path} against a regex
{@code Pattern}.
jimfs/src/main/java/com/google/common/jimfs/PathMatchers.java