1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

; Add to last commit

* lisp/xdg.el (xdg-desktop-entry-regexp): Add a commented capture group
for future reference.
This commit is contained in:
Mark Oteiza 2017-09-10 12:20:06 -04:00
parent 6ae845637b
commit 4973788c6a

View file

@ -163,6 +163,7 @@ This should be called at the beginning of a line."
;; notion of l10n/i18n
(defconst xdg-desktop-entry-regexp
(rx (group-n 1 (+ (in "A-Za-z0-9-")))
;; (? "[" (group-n 3 (+ nonl)) "]")
(* blank) "=" (* blank)
(group-n 2 (* nonl)))
"Regexp matching desktop file entry key-value pairs.")