Skip to content

Commit

Permalink
fix: document tree regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jd1378 committed Oct 11, 2022
1 parent 141a955 commit 56e8156
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class UriHelper {
public static final String CONTENT_URI_PREFIX = "content://";
public static final Pattern DOCUMENT_TREE_PREFIX =
Pattern.compile("^content://.*?/tree/.+?:.*", Pattern.CASE_INSENSITIVE);
Pattern.compile("^content://.*?/tree/.+?", Pattern.CASE_INSENSITIVE);

public static String getLastSegment(String uriString) {

Expand Down

0 comments on commit 56e8156

Please sign in to comment.