Variable: whitespace-space-regexp
whitespace-space-regexp is a customizable variable defined in
whitespace.el.gz.
Value
"\\( +\\)"
Documentation
Specify SPACE characters regexp.
If you're using mule package, there may be other characters
besides " " that should be considered SPACE.
Here are some examples:
"\\\\(^ +\\\\)" visualize only leading SPACEs.
"\\\\( +$\\\\)" visualize only trailing SPACEs.
"\\\\(^ +\\\\| +$\\\\)" visualize leading and/or trailing SPACEs.
"\\t\\\\( +\\\\)\\t" visualize only SPACEs between TABs.
NOTE: Enclose always by \\( and \\) the elements to highlight.
Use exactly one pair of enclosing \\( and \\).
Used when whitespace-style includes spaces.
Source Code
;; Defined in /usr/src/emacs/lisp/whitespace.el.gz
(defcustom whitespace-space-regexp "\\( +\\)"
"Specify SPACE characters regexp.
If you're using `mule' package, there may be other characters
besides \" \" that should be considered SPACE.
Here are some examples:
\"\\\\(^ +\\\\)\" visualize only leading SPACEs.
\"\\\\( +$\\\\)\" visualize only trailing SPACEs.
\"\\\\(^ +\\\\| +$\\\\)\" \
visualize leading and/or trailing SPACEs.
\"\\t\\\\( +\\\\)\\t\" visualize only SPACEs between TABs.
NOTE: Enclose always by \\\\( and \\\\) the elements to highlight.
Use exactly one pair of enclosing \\\\( and \\\\).
Used when `whitespace-style' includes `spaces'."
:type '(regexp :tag "SPACE Chars")
:group 'whitespace)