Variable: whitespace-indentation-regexp
whitespace-indentation-regexp is a customizable variable defined in
whitespace.el.gz.
Value
("^ *\\(\\( \\{%d\\}\\)+\\)[^\n ]" . "^ *\\( +\\).")
Documentation
Regexps to match indentation whitespace that should be visualized.
The value should be a cons whose car specifies the regexp to match visualization of SPACEs, and the cdr specifies the regexp to match visualization of TABs.
The indentation characters are highlighted using the whitespace-indentation
face.
This variable is used when whitespace-style includes indentation,
indentation::tab or indentation::space.
Source Code
;; Defined in /usr/src/emacs/lisp/whitespace.el.gz
(defcustom whitespace-indentation-regexp
'("^\t*\\(\\( \\{%d\\}\\)+\\)[^\n\t]"
. "^ *\\(\t+\\).")
"Regexps to match indentation whitespace that should be visualized.
The value should be a cons whose car specifies the regexp to match
visualization of SPACEs, and the cdr specifies the regexp to match
visualization of TABs.
The indentation characters are highlighted using the `whitespace-indentation'
face.
This variable is used when `whitespace-style' includes `indentation',
`indentation::tab' or `indentation::space'."
:type '(cons (string :tag "Indentation SPACEs")
(regexp :tag "Indentation TABs")))