Variable: eshell-glob-translate-alist

eshell-glob-translate-alist is a customizable variable defined in em-glob.el.gz.

Value

((93 . "]") (91 . "[") (94 . "^") (63 . ".") (42 . ".*") (126 . "~")
 (40 . "\\(") (41 . "\\)") (124 . "\\|")
 (35
  . #[514
      "\211TGW\2031�TH\300>\2031�TH\301=\203�\302\202,�TH\303=\203+�\304\202,�\305\306\\B\207\304TB\207"
      [(42 35 43 63) 63 "?" 42 "*" "+" 2] 5
      ("/nix/store/yvwy8dm26cpa1j12ixgs1dyiaw2abdk9-emacs-snapshot/share/emacs/31.0.50/lisp/eshell/em-glob.elc"
       . 950)]))

Documentation

An alist for translation of extended globbing characters.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-glob.el.gz
(defcustom eshell-glob-translate-alist
  `((?\] . "]")
    (?\[ . "[")
    (?^  . "^")
    (??  . ".")
    (?*  . ".*")
    (?~  . "~")
    (?\( . "\\(")
    (?\) . "\\)")
    (?\| . "\\|")
    (?#  . ,(lambda (str pos)
	      (if (and (< (1+ pos) (length str))
		       (memq (aref str (1+ pos)) '(?* ?# ?+ ??)))
		  (cons (if (eq (aref str (1+ pos)) ??)
			    "?"
			  (if (eq (aref str (1+ pos)) ?*)
			      "*" "+"))
			(+ pos 2))
		(cons "*" (1+ pos))))))
  "An alist for translation of extended globbing characters."
  :type '(alist :key-type character
	  :value-type (choice string function))
  :group 'eshell-glob)