diff options
| author | Noam Postavsky | 2017-12-11 18:52:52 -0500 |
|---|---|---|
| committer | Noam Postavsky | 2018-01-26 19:53:09 -0500 |
| commit | 463f96b4813fb77d88a7b0fa93f94aa08d71689f (patch) | |
| tree | f05a09007bcdeac83aa6a955d20644c138531420 | |
| parent | 08a6195571194f961fb898ebbf307c0aa13785a6 (diff) | |
| download | emacs-463f96b4813fb77d88a7b0fa93f94aa08d71689f.tar.gz emacs-463f96b4813fb77d88a7b0fa93f94aa08d71689f.zip | |
* doc/lispref/searching.texi: Document regexp repetition limit.
| -rw-r--r-- | doc/lispref/searching.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 552001e8904..e759967aa8a 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -639,7 +639,15 @@ and nothing else. @samp{c[ad]\@{3\@}r} matches string such as | |||
| 639 | is a more general postfix operator that specifies repetition with a | 639 | is a more general postfix operator that specifies repetition with a |
| 640 | minimum of @var{m} repeats and a maximum of @var{n} repeats. If @var{m} | 640 | minimum of @var{m} repeats and a maximum of @var{n} repeats. If @var{m} |
| 641 | is omitted, the minimum is 0; if @var{n} is omitted, there is no | 641 | is omitted, the minimum is 0; if @var{n} is omitted, there is no |
| 642 | maximum. | 642 | maximum. For both forms, @var{m} and @var{n}, if specified, may be no |
| 643 | larger than | ||
| 644 | @ifnottex | ||
| 645 | 2**15 @minus{} 1 | ||
| 646 | @end ifnottex | ||
| 647 | @tex | ||
| 648 | @math{2^{15}-1} | ||
| 649 | @end tex | ||
| 650 | . | ||
| 643 | 651 | ||
| 644 | For example, @samp{c[ad]\@{1,2\@}r} matches the strings @samp{car}, | 652 | For example, @samp{c[ad]\@{1,2\@}r} matches the strings @samp{car}, |
| 645 | @samp{cdr}, @samp{caar}, @samp{cadr}, @samp{cdar}, and @samp{cddr}, and | 653 | @samp{cdr}, @samp{caar}, @samp{cadr}, @samp{cdar}, and @samp{cddr}, and |