464 |
defaults. They also have separate search rings that you can access with |
defaults. They also have separate search rings that you can access with |
465 |
@kbd{M-p} and @kbd{M-n}. |
@kbd{M-p} and @kbd{M-n}. |
466 |
|
|
467 |
|
@vindex search-whitespace-regexp |
468 |
If you type @key{SPC} in incremental regexp search, it matches any |
If you type @key{SPC} in incremental regexp search, it matches any |
469 |
sequence of whitespace characters, including newlines. If you want |
sequence of whitespace characters, including newlines. If you want to |
470 |
to match just a space, type @kbd{C-q @key{SPC}}. |
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. |
473 |
|
|
474 |
Note that adding characters to the regexp in an incremental regexp |
Note that adding characters to the regexp in an incremental regexp |
475 |
search can make the cursor move back and start again. For example, if |
search can make the cursor move back and start again. For example, if |