From e83eef92f3289e1b66d12562fb440a7be98f9c2d Mon Sep 17 00:00:00 2001 From: BJ Hargrave Date: Tue, 14 Jun 2022 15:50:41 -0400 Subject: [PATCH] Improve regex expression Signed-off-by: BJ Hargrave --- .../src/bndtools/jareditor/internal/JarFileSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bndtools.jareditor/src/bndtools/jareditor/internal/JarFileSystem.java b/bndtools.jareditor/src/bndtools/jareditor/internal/JarFileSystem.java index 93fbd40fe1f..f38144e8eba 100644 --- a/bndtools.jareditor/src/bndtools/jareditor/internal/JarFileSystem.java +++ b/bndtools.jareditor/src/bndtools/jareditor/internal/JarFileSystem.java @@ -59,7 +59,7 @@ public class JarFileSystem extends FileSystem { private final ConcurrentMap> roots = new ConcurrentHashMap<>(); private static final Pattern JARF_P = Pattern - .compile("jarf:///(?.*)!(?(/[^!]*)+)"); + .compile("jarf:///(?.*)!(?/[^!]*)"); static abstract class JarNode extends FileStore { private final JarFolderNode parent;