Skip to content

Commit

Permalink
Improve regex expression
Browse files Browse the repository at this point in the history
Signed-off-by: BJ Hargrave <bj@hargrave.dev>
  • Loading branch information
bjhargrave committed Jun 14, 2022
1 parent 6e2f7d8 commit e83eef9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -59,7 +59,7 @@ public class JarFileSystem extends FileSystem {
private final ConcurrentMap<IFileStore, Reference<JarRootNode>> roots = new ConcurrentHashMap<>();

private static final Pattern JARF_P = Pattern
.compile("jarf:///(?<fileuri>.*)!(?<path>(/[^!]*)+)");
.compile("jarf:///(?<fileuri>.*)!(?<path>/[^!]*)");

static abstract class JarNode extends FileStore {
private final JarFolderNode parent;
Expand Down

0 comments on commit e83eef9

Please sign in to comment.