diff options
| author | Richard M. Stallman | 2004-11-19 19:50:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-11-19 19:50:29 +0000 |
| commit | 65b65d26ef047fa28cad7d30185da64d536c6385 (patch) | |
| tree | 5df7011709e893398f6231346ebc1393102245f1 | |
| parent | 4fb680cd9c8b3a42a89220318299d8d0106a58de (diff) | |
| download | emacs-65b65d26ef047fa28cad7d30185da64d536c6385.tar.gz emacs-65b65d26ef047fa28cad7d30185da64d536c6385.zip | |
(Regexp Search): Add search-whitespace-regexp.
| -rw-r--r-- | lispref/searching.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lispref/searching.texi b/lispref/searching.texi index ee6cb06b1e1..8eb48d3b009 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi | |||
| @@ -1001,6 +1001,15 @@ comes back" twice. | |||
| 1001 | @end example | 1001 | @end example |
| 1002 | @end defun | 1002 | @end defun |
| 1003 | 1003 | ||
| 1004 | @defvar search-whitespace-regexp | ||
| 1005 | If this variable is non-@code{nil}, it should be a regular expression | ||
| 1006 | that says how to search for whitespace. In that case, any group of | ||
| 1007 | spaces within in a regular expression being searched for stands for | ||
| 1008 | use of this regular expression. However, spaces inside of constructs | ||
| 1009 | such as @samp{[@dots{}]} and @samp{*}, @samp{+}, @samp{?} are not | ||
| 1010 | affected by @code{search-whitespace-regexp}. | ||
| 1011 | @end defvar | ||
| 1012 | |||
| 1004 | @node POSIX Regexps | 1013 | @node POSIX Regexps |
| 1005 | @section POSIX Regular Expression Searching | 1014 | @section POSIX Regular Expression Searching |
| 1006 | 1015 | ||