Variable: completion-regexp-list
completion-regexp-list is a variable defined in minibuf.c.
Value
nil
Documentation
List of regexps that should restrict possible completions.
The basic completion functions only consider a completion acceptable
if it matches all regular expressions in this list, with
case-fold-search bound to the value of completion-ignore-case.
See Info node (elisp)Basic Completion, for a description of these
functions.
Do not set this variable to a non-nil value globally, as that is not
safe and will probably cause errors in completion commands. This
variable should be only let-bound to non-nil values around calls to
basic completion functions like try-completion and all-completions.
Probably introduced at or before Emacs version 19.23.
Source Code
// Defined in /usr/src/emacs/src/minibuf.c
DEFVAR_LISP ("completion-regexp-list", Vcompletion_regexp_list,
doc: /* List of regexps that should restrict possible completions.
The basic completion functions only consider a completion acceptable
if it matches all regular expressions in this list, with
`case-fold-search' bound to the value of `completion-ignore-case'.
See Info node `(elisp)Basic Completion', for a description of these
functions.
Do not set this variable to a non-nil value globally, as that is not
safe and will probably cause errors in completion commands. This
variable should be only let-bound to non-nil values around calls to
basic completion functions like `try-completion' and `all-completions'. */);