Mercurial > emacs
comparison lispref/searching.texi @ 16736:981e116b4ac6
Minor cleanups for overfull hboxes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 20 Dec 1996 00:09:23 +0000 |
parents | 6bf9976041ca |
children | aa0b21b54684 |
comparison
equal
deleted
inserted
replaced
16735:940b9fcc1da6 | 16736:981e116b4ac6 |
---|---|
368 @cindex regexp grouping | 368 @cindex regexp grouping |
369 is a grouping construct that serves three purposes: | 369 is a grouping construct that serves three purposes: |
370 | 370 |
371 @enumerate | 371 @enumerate |
372 @item | 372 @item |
373 To enclose a set of @samp{\|} alternatives for other operations. | 373 To enclose a set of @samp{\|} alternatives for other operations. Thus, |
374 Thus, @samp{\(foo\|bar\)x} matches either @samp{foox} or @samp{barx}. | 374 the regular expression @samp{\(foo\|bar\)x} matches either @samp{foox} |
375 or @samp{barx}. | |
375 | 376 |
376 @item | 377 @item |
377 To enclose an expression for a suffix operator such as @samp{*} to act | 378 To enclose an expression for a suffix operator such as @samp{*} to act |
378 on. Thus, @samp{ba\(na\)*} matches @samp{bananana}, etc., with any | 379 on. Thus, @samp{ba\(na\)*} matches @samp{bananana}, etc., with any |
379 (zero or more) number of @samp{na} strings.@refill | 380 (zero or more) number of @samp{na} strings.@refill |