comparison man/search.texi @ 31072:e500b247bb59

Document re-builder.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 22 Aug 2000 16:29:53 +0000
parents c503cf38b3e8
children 396b07cf1395
comparison
equal deleted inserted replaced
31071:93f2d24e3942 31072:e500b247bb59
682 682
683 To enter the same regexp interactively, you would type @key{TAB} to 683 To enter the same regexp interactively, you would type @key{TAB} to
684 enter a tab, and @kbd{C-j} to enter a newline. You would also type 684 enter a tab, and @kbd{C-j} to enter a newline. You would also type
685 single backslashes as themselves, instead of doubling them for Lisp syntax. 685 single backslashes as themselves, instead of doubling them for Lisp syntax.
686 686
687 @findex re-builder
688 @cindex authoring regular expressions
689 For easier authoring of regular expressions, you can use the @kbd{M-x
690 re-builder} command. It provides a convenient interface for creating
691 regular expressions, by giving immediate visual feedback. The buffer
692 from which @code{re-builder} was invoked becomes the target for the
693 regexp editor, which pops in a separate window. Text that matches the
694 regular expression you typed so far is color marked in the target
695 buffer. Each parenthesized sub-expression of the regexp is shown in a
696 distinct face, which makes it easier to verify even very complex
697 regexps. (On displays that don't support colors, Emacs blinks the
698 cursor around the matched text, like it does for matching parens.)
699
687 @node Search Case, Replace, Regexps, Search 700 @node Search Case, Replace, Regexps, Search
688 @section Searching and Case 701 @section Searching and Case
689 702
690 @vindex case-fold-search 703 @vindex case-fold-search
691 Incremental searches in Emacs normally ignore the case of the text 704 Incremental searches in Emacs normally ignore the case of the text