diff options
| author | Richard M. Stallman | 2005-09-25 23:57:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-09-25 23:57:10 +0000 |
| commit | c283cff54cba36a5eabd43da4444d9da9d0aa721 (patch) | |
| tree | c051969e0bd71c2dd762e140dd9329a589402787 | |
| parent | 9867523c82ffbaea5bd02a8b98f9e1844c8c7496 (diff) | |
| download | emacs-c283cff54cba36a5eabd43da4444d9da9d0aa721.tar.gz emacs-c283cff54cba36a5eabd43da4444d9da9d0aa721.zip | |
(Regexp Search): Doc search-whitespace-regexp.
| -rw-r--r-- | man/search.texi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/man/search.texi b/man/search.texi index b252e9c7c8c..3c9e439e76d 100644 --- a/man/search.texi +++ b/man/search.texi | |||
| @@ -464,9 +464,12 @@ say, incremental regexp and non-regexp searches have independent | |||
| 464 | defaults. They also have separate search rings that you can access with | 464 | defaults. They also have separate search rings that you can access with |
| 465 | @kbd{M-p} and @kbd{M-n}. | 465 | @kbd{M-p} and @kbd{M-n}. |
| 466 | 466 | ||
| 467 | @vindex search-whitespace-regexp | ||
| 467 | If you type @key{SPC} in incremental regexp search, it matches any | 468 | If you type @key{SPC} in incremental regexp search, it matches any |
| 468 | sequence of whitespace characters, including newlines. If you want | 469 | sequence of whitespace characters, including newlines. If you want to |
| 469 | to match just a space, type @kbd{C-q @key{SPC}}. | 470 | match just a space, type @kbd{C-q @key{SPC}}. You can control what a |
| 471 | bare spece matches by setting the variable | ||
| 472 | @code{search-whitespace-regexp} to the desired regexp. | ||
| 470 | 473 | ||
| 471 | Note that adding characters to the regexp in an incremental regexp | 474 | Note that adding characters to the regexp in an incremental regexp |
| 472 | search can make the cursor move back and start again. For example, if | 475 | search can make the cursor move back and start again. For example, if |