diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-01-03 00:29:21 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-01-03 00:29:21 +0000 |
commit | 8964fec710c90c9dcb9795806a585c1c43116279 (patch) | |
tree | bd2fcc414293902776d21672d41e4cc011bfc679 /man | |
parent | 7282119048ba6148866f5456ac17dfa6c42b256a (diff) | |
download | emacs-8964fec710c90c9dcb9795806a585c1c43116279.tar.gz |
*** empty log message ***
Diffstat (limited to 'man')
-rw-r--r-- | man/search.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man/search.texi b/man/search.texi index 09c66bca0af..a4f4d87daba 100644 --- a/man/search.texi +++ b/man/search.texi @@ -407,6 +407,12 @@ is a postfix operator, similar to @samp{*} except that it can match the 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 |