From 86bc9517c0004f9e11ac3f6fcf56901645b0b255 Mon Sep 17 00:00:00 2001 From: Bram Schoenmakers Date: Thu, 28 Dec 2023 23:21:15 +0100 Subject: [PATCH] Fix regexp to extract the domain name from a URL --- kagi.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kagi.el b/kagi.el index 4c54394..7be9386 100644 --- a/kagi.el +++ b/kagi.el @@ -312,7 +312,7 @@ Returns a formatted string to be displayed by the shell." "://")) (? "www.") ;; the domain name - (group (seq (+ (not ".")) "." (+ alpha))))) + (group (seq (+ (not "/")))))) url) (if-let ((domain-name (match-string 1 url)))