Variable: whitespace-trailing-regexp
whitespace-trailing-regexp is a customizable variable defined in
whitespace.el.gz.
Value
"\\([ ]+\\)$"
Documentation
Regexp to match trailing characters that should be visualized.
The trailing characters are highlighted using the whitespace-trailing face.
There may be other characters besides:
" " "\\t" "\\u00A0"
that should be considered blank.
NOTE: Always enclose the elements to highlight in "\\\\("..."\\\\)$".
Use exactly one pair of enclosing elements above.
This variable is used when whitespace-style includes trailing.
Source Code
;; Defined in /usr/src/emacs/lisp/whitespace.el.gz
(defcustom whitespace-trailing-regexp
"\\([\t \u00A0]+\\)$"
"Regexp to match trailing characters that should be visualized.
The trailing characters are highlighted using the `whitespace-trailing' face.
There may be other characters besides:
\" \" \"\\t\" \"\\u00A0\"
that should be considered blank.
NOTE: Always enclose the elements to highlight in \"\\\\(\"...\"\\\\)$\".
Use exactly one pair of enclosing elements above.
This variable is used when `whitespace-style' includes `trailing'."
:type '(regexp :tag "Trailing Chars"))