summaryrefslogtreecommitdiff
path: root/man/search.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-08-22 16:29:53 +0000
committerEli Zaretskii <eliz@gnu.org>2000-08-22 16:29:53 +0000
commit3adfa3dbb9eee866327c58856a2bf79edc472b36 (patch)
tree61fd78b7c9968a809748c4f78703434111ede82d /man/search.texi
parent894ca69ec897c6b827bb94ab79bffff102c754e4 (diff)
downloademacs-3adfa3dbb9eee866327c58856a2bf79edc472b36.tar.gz
Document re-builder.
Diffstat (limited to 'man/search.texi')
-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.
enter a tab, and @kbd{C-j} to enter a newline. You would also type
single backslashes as themselves, instead of doubling them for Lisp syntax.
+@findex re-builder
+@cindex authoring regular expressions
+ For easier authoring of regular expressions, you can use the @kbd{M-x
+re-builder} command. It provides a convenient interface for creating
+regular expressions, by giving immediate visual feedback. The buffer
+from which @code{re-builder} was invoked becomes the target for the
+regexp editor, which pops in a separate window. Text that matches the
+regular expression you typed so far is color marked in the target
+buffer. Each parenthesized sub-expression of the regexp is shown in a
+distinct face, which makes it easier to verify even very complex
+regexps. (On displays that don't support colors, Emacs blinks the
+cursor around the matched text, like it does for matching parens.)
+
@node Search Case, Replace, Regexps, Search
@section Searching and Case