Mercurial > emacs
changeset 31072:e500b247bb59
Document re-builder.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 22 Aug 2000 16:29:53 +0000 |
parents | 93f2d24e3942 |
children | f35042c35352 |
files | man/search.texi |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/man/search.texi Tue Aug 22 16:08:36 2000 +0000 +++ b/man/search.texi Tue Aug 22 16:29:53 2000 +0000 @@ -684,6 +684,19 @@ 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