Mercurial > emacs
diff man/search.texi @ 27094:6500fd0a7d8e
*** empty log message ***
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 03 Jan 2000 00:29:21 +0000 |
parents | ac7e9e5e2ccb |
children | a9508422287d |
line wrap: on
line diff
--- a/man/search.texi Mon Jan 03 00:19:17 2000 +0000 +++ b/man/search.texi Mon Jan 03 00:29:21 2000 +0000 @@ -407,6 +407,12 @@ preceding expression either once or not at all. For example, @samp{ca?r} matches @samp{car} or @samp{cr}; nothing else. +@item *?, +?, ?? +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. + @item [ @dots{} ] is a @dfn{character set}, which begins with @samp{[} and is terminated by @samp{]}. In the simplest case, the characters between the two