Function: dired-flag-files-regexp

dired-flag-files-regexp is an interactive and byte-compiled function defined in dired.el.gz.

Signature

(dired-flag-files-regexp REGEXP)

Documentation

In Dired, flag all files containing the specified REGEXP for deletion.

The match is against the non-directory part of the filename. Use ^
  and $ to anchor matches. Exclude subdirs by hiding them.
. and .. are never flagged.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired-flag-files-regexp (regexp)
  "In Dired, flag all files containing the specified REGEXP for deletion.
The match is against the non-directory part of the filename.  Use `^'
  and `$' to anchor matches.  Exclude subdirs by hiding them.
`.' and `..' are never flagged."
  (interactive (list (read-regexp "Flag for deletion (regexp): "
                                  nil 'dired-regexp-history)))
  (dired-mark-files-regexp regexp dired-del-marker))