Variable: whitespace-hspace-regexp
whitespace-hspace-regexp is a customizable variable defined in
whitespace.el.gz.
Value
"\\( +\\)"
Documentation
Regexp to match HARD SPACE characters that should be visualized.
The HARD SPACE characters are highlighted using the whitespace-hspace face.
Here are some examples:
"\\\\(^\\xA0+\\\\)" visualize only leading HARD SPACEs.
"\\\\(\\xA0+$\\\\)" visualize only trailing HARD SPACEs.
"\\\\(^\\xA0+\\\\|\\xA0+$\\\\)" visualize leading and/or trailing HARD SPACEs.
"\\t\\\\(\\xA0+\\\\)\\t" visualize only HARD SPACEs between TABs.
NOTE: Always enclose the elements to highlight in \\(...\\).
Use exactly one pair of enclosing \\( and \\).
This variable is used when whitespace-style includes spaces.
Source Code
;; Defined in /usr/src/emacs/lisp/whitespace.el.gz
(defcustom whitespace-hspace-regexp
"\\(\u00A0+\\)"
"Regexp to match HARD SPACE characters that should be visualized.
The HARD SPACE characters are highlighted using the `whitespace-hspace' face.
Here are some examples:
\"\\\\(^\\xA0+\\\\)\" \
visualize only leading HARD SPACEs.
\"\\\\(\\xA0+$\\\\)\" \
visualize only trailing HARD SPACEs.
\"\\\\(^\\xA0+\\\\|\\xA0+$\\\\)\" \
visualize leading and/or trailing HARD SPACEs.
\"\\t\\\\(\\xA0+\\\\)\\t\" \
visualize only HARD SPACEs between TABs.
NOTE: Always enclose the elements to highlight in \\\\(...\\\\).
Use exactly one pair of enclosing \\\\( and \\\\).
This variable is used when `whitespace-style' includes `spaces'."
:type '(regexp :tag "HARD SPACE Chars"))