Variable: whitespace-hspace-regexp
whitespace-hspace-regexp is a customizable variable defined in
whitespace.el.gz.
Value
"\\( +\\)"
Documentation
Specify HARD SPACE characters regexp.
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: 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-hspace-regexp
"\\(\u00A0+\\)"
"Specify HARD SPACE characters regexp.
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: Enclose always by \\\\( and \\\\) the elements to highlight.
Use exactly one pair of enclosing \\\\( and \\\\).
Used when `whitespace-style' includes `spaces'."
:type '(regexp :tag "HARD SPACE Chars")
:group 'whitespace)