Variable: xdg-desktop-entry-regexp

xdg-desktop-entry-regexp is a variable defined in xdg.el.gz.

Value

"\\(?1:[0-9A-Za-z-]+\\)[[:blank:]]*=[[:blank:]]*\\(?2:.*\\)"

Documentation

Regexp matching desktop file entry key-value pairs.

Source Code

;; Defined in /usr/src/emacs/lisp/xdg.el.gz
;; TODO Localized strings left out intentionally, as Emacs has no
;; 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.")