This commit is contained in:
Akira Tempaku 2024-12-20 15:15:04 +09:00
commit d20dbe2649
3 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@
(regex-replace "/index$" path "")))
(defun bracket->colon (path)
(regex-replace-all "\\[(.*?)\\]" path ":\\1"))
(regex-replace-all "<(.*?)>" path ":\\1"))
(defun path->uri (path)
(bracket->colon (remove-index path)))