]> git.eshelyaron.com Git - emacs.git/commitdiff
(Regexp Search): Add search-whitespace-regexp.
authorRichard M. Stallman <rms@gnu.org>
Fri, 19 Nov 2004 19:50:29 +0000 (19:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 19 Nov 2004 19:50:29 +0000 (19:50 +0000)
lispref/searching.texi

index ee6cb06b1e1db32c564e8a310a36b2ab93a726b1..8eb48d3b0094d16e7747a2c3779b52e001976d71 100644 (file)
@@ -1001,6 +1001,15 @@ comes back" twice.
 @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