mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
* doc/lispref/searching.texi: Document regexp repetition limit.
This commit is contained in:
parent
08a6195571
commit
463f96b481
@ -639,7 +639,15 @@ and nothing else. @samp{c[ad]\@{3\@}r} matches string such as
|
||||
is a more general postfix operator that specifies repetition with a
|
||||
minimum of @var{m} repeats and a maximum of @var{n} repeats. If @var{m}
|
||||
is omitted, the minimum is 0; if @var{n} is omitted, there is no
|
||||
maximum.
|
||||
maximum. For both forms, @var{m} and @var{n}, if specified, may be no
|
||||
larger than
|
||||
@ifnottex
|
||||
2**15 @minus{} 1
|
||||
@end ifnottex
|
||||
@tex
|
||||
@math{2^{15}-1}
|
||||
@end tex
|
||||
.
|
||||
|
||||
For example, @samp{c[ad]\@{1,2\@}r} matches the strings @samp{car},
|
||||
@samp{cdr}, @samp{caar}, @samp{cadr}, @samp{cdar}, and @samp{cddr}, and
|
||||
|
Loading…
Reference in New Issue
Block a user