aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2000-08-22 16:29:53 +0000
committerEli Zaretskii2000-08-22 16:29:53 +0000
commit3adfa3dbb9eee866327c58856a2bf79edc472b36 (patch)
tree61fd78b7c9968a809748c4f78703434111ede82d
parent894ca69ec897c6b827bb94ab79bffff102c754e4 (diff)
downloademacs-3adfa3dbb9eee866327c58856a2bf79edc472b36.tar.gz
emacs-3adfa3dbb9eee866327c58856a2bf79edc472b36.zip
Document re-builder.
-rw-r--r--man/search.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/search.texi b/man/search.texi
index 29938d48526..98c076fd561 100644
--- a/man/search.texi
+++ b/man/search.texi
@@ -684,6 +684,19 @@ of times.
684enter a tab, and @kbd{C-j} to enter a newline. You would also type 684enter a tab, and @kbd{C-j} to enter a newline. You would also type
685single backslashes as themselves, instead of doubling them for Lisp syntax. 685single 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
690re-builder} command. It provides a convenient interface for creating
691regular expressions, by giving immediate visual feedback. The buffer
692from which @code{re-builder} was invoked becomes the target for the
693regexp editor, which pops in a separate window. Text that matches the
694regular expression you typed so far is color marked in the target
695buffer. Each parenthesized sub-expression of the regexp is shown in a
696distinct face, which makes it easier to verify even very complex
697regexps. (On displays that don't support colors, Emacs blinks the
698cursor 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