Function: ensure-trailing-slash-only

Source

(defun ensure-trailing-slash-only (url)
  (=~ "^/*(.*?)/*$" url (strcat ($ 1) #\/)))
Source Context