branch: externals/jarchive
commit d8fa586e1c55260d7613e787cbe19f723f044439
Author: dannyfreeman <[email protected]>
Commit: dannyfreeman <[email protected]>
Also work with "zipfile" scheme URIs from clojure-lsp
---
jarchive.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jarchive.el b/jarchive.el
index 587ba747a7..cfe0c14060 100644
--- a/jarchive.el
+++ b/jarchive.el
@@ -11,11 +11,11 @@
(defconst jarchive--uri-regex
(rx
line-start
- "jar:file://"
+ (or "jar:file://" "zipfile://")
;; match group 1, the jar file location
(group "/" (* not-newline) ".jar")
;; Delimiter between the jar and the file inside the jar
- "!"
+ (or "!" "::")
;; match the leading directory delimiter /,
;; archvie mode expects none so it's outside match group 2
(zero-or-one "/")