Variable: directory-files-no-dot-files-regexp

directory-files-no-dot-files-regexp is a variable defined in files.el.gz.

Value

"[^.]\\|\\.\\.\\."

Documentation

Regexp matching any file name except "." and "..".

More precisely, it matches parts of any nonempty string except those two. It is useful as the regexp argument to directory-files and directory-files-and-attributes.

View in manual

Aliases

dired-re-no-dot (obsolete since 28.1)

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defconst directory-files-no-dot-files-regexp
  "[^.]\\|\\.\\.\\."
  "Regexp matching any file name except \".\" and \"..\".
More precisely, it matches parts of any nonempty string except those two.
It is useful as the regexp argument to `directory-files' and
`directory-files-and-attributes'.")