Skip to content

Commit e83eef9

Browse files
committed
Improve regex expression
Signed-off-by: BJ Hargrave <[email protected]>
1 parent 6e2f7d8 commit e83eef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bndtools.jareditor/src/bndtools/jareditor/internal/JarFileSystem.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class JarFileSystem extends FileSystem {
5959
private final ConcurrentMap<IFileStore, Reference<JarRootNode>> roots = new ConcurrentHashMap<>();
6060

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

6464
static abstract class JarNode extends FileStore {
6565
private final JarFolderNode parent;

0 commit comments

Comments
 (0)