Mercurial > emacs
changeset 27139:a9508422287d
Improve markup for the description of non-greedy operators.
Add an index entry.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 04 Jan 2000 12:01:26 +0000 |
parents | d4cf94bd12ab |
children | 08fbb3f37f91 |
files | man/search.texi |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/man/search.texi Tue Jan 04 11:56:22 2000 +0000 +++ b/man/search.texi Tue Jan 04 12:01:26 2000 +0000 @@ -408,10 +408,11 @@ @samp{ca?r} matches @samp{car} or @samp{cr}; nothing else. @item *?, +?, ?? +@cindex non-greedy regexp matching are non-greedy variants of the operators above. The normal operators -@samp{*, +, ?} are greedy in that they match as much as they can, -while if you prepend a @samp{?} after them, it makes them non-greedy -in that they will match as little as possible. +@samp{*}, @samp{+}, @samp{?} are @dfn{greedy} in that they match as much +as they can, while if you append a @samp{?} after them, it makes them +non-greedy: they will match as little as possible. @item [ @dots{} ] is a @dfn{character set}, which begins with @samp{[} and is terminated