# HG changeset patch # User Eli Zaretskii # Date 946987286 0 # Node ID a9508422287d810ca83feb716cf277844bcfa2be # Parent d4cf94bd12ab78cdc405884f4c8c6948ed7899be Improve markup for the description of non-greedy operators. Add an index entry. diff -r d4cf94bd12ab -r a9508422287d man/search.texi --- 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