changeset 58329:30f22485a11e

(Regexp Search): Add search-whitespace-regexp.
author Richard M. Stallman <rms@gnu.org>
date Fri, 19 Nov 2004 19:50:29 +0000
parents 829390516ec0
children 5be8a633ec57
files lispref/searching.texi
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/searching.texi	Fri Nov 19 19:47:39 2004 +0000
+++ b/lispref/searching.texi	Fri Nov 19 19:50:29 2004 +0000
@@ -1001,6 +1001,15 @@
 @end example
 @end defun
 
+@defvar search-whitespace-regexp
+If this variable is non-@code{nil}, it should be a regular expression
+that says how to search for whitespace.  In that case, any group of
+spaces within in a regular expression being searched for stands for
+use of this regular expression.  However, spaces inside of constructs
+such as @samp{[@dots{}]} and @samp{*}, @samp{+}, @samp{?} are not
+affected by @code{search-whitespace-regexp}.
+@end defvar
+
 @node POSIX Regexps
 @section POSIX Regular Expression Searching