comparison man/search.texi @ 40521:549e09fb7907

Clarify how to enter regexps in isearch and in the miniubuffer.
author Richard M. Stallman <rms@gnu.org>
date Tue, 30 Oct 2001 18:30:19 +0000
parents c96b651c8c8e
children feea30bbbf13
comparison
equal deleted inserted replaced
40520:9062bc5cc660 40521:549e09fb7907
717 set of alternatives within backslash-parentheses that matches either 717 set of alternatives within backslash-parentheses that matches either
718 end-of-line, a space at the end of a line, a tab, or two spaces; and a 718 end-of-line, a space at the end of a line, a tab, or two spaces; and a
719 character set matching whitespace characters, repeated any number of 719 character set matching whitespace characters, repeated any number of
720 times. 720 times.
721 721
722 To enter the same regexp interactively, you would type @key{TAB} to 722 To enter the same regexp in incremental search, you would type
723 enter a tab, and @kbd{C-j} to enter a newline. (When typed 723 @key{TAB} to enter a tab, and @kbd{C-j} to enter a newline. You would
724 interactively, @kbd{C-j} should be preceded by a @kbd{C-q}, to prevent 724 also type single backslashes as themselves, instead of doubling them
725 Emacs from running the command bound to a newline.) You would also type 725 for Lisp syntax. In commands that use ordinary minibuffer input to
726 single backslashes as themselves, instead of doubling them for Lisp 726 read a regexp, you would quote the @kbd{C-j} by preceding it with a
727 syntax. 727 @kbd{C-q} to prevent @kbd{C-j} from exiting the minibuffer.
728 728
729 @ignore 729 @ignore
730 @c I commented this out because it is missing vital information 730 @c I commented this out because it is missing vital information
731 @c and therefore useless. For instance, what do you do to *use* the 731 @c and therefore useless. For instance, what do you do to *use* the
732 @c regular expression when it is finished? What jobs is this good for? 732 @c regular expression when it is finished? What jobs is this good for?