/[emacs]/emacs/lispref/searching.texi
ViewVC logotype

Diff of /emacs/lispref/searching.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by rms, Sat Feb 15 19:27:40 2003 UTC revision 1.44 by rms, Mon Feb 24 16:47:27 2003 UTC
# Line 483  but no other string.@refill Line 483  but no other string.@refill
483  surrounding @samp{\( @dots{} \)} grouping can limit the grouping power of  surrounding @samp{\( @dots{} \)} grouping can limit the grouping power of
484  @samp{\|}.@refill  @samp{\|}.@refill
485    
486  Full backtracking capability exists to handle multiple uses of  If you need full backtracking capability to handle multiple uses of
487  @samp{\|}, if you use the POSIX regular expression functions  @samp{\|}, use the POSIX regular expression functions (@pxref{POSIX
488  (@pxref{POSIX Regexps}).  Regexps}).
489    
490  @item \@{@var{m}\@}  @item \@{@var{m}\@}
491  is a postfix operator that repeats the previous pattern exactly @var{m}  is a postfix operator that repeats the previous pattern exactly @var{m}
# Line 959  possibilities and found all matches, so Line 959  possibilities and found all matches, so
959  match, as required by POSIX.  This is much slower, so use these  match, as required by POSIX.  This is much slower, so use these
960  functions only when you really need the longest match.  functions only when you really need the longest match.
961    
962      The POSIX search and match functions do not properly support the
963    non-greedy repetition operators.  This is because POSIX backtracking
964    conflicts with the semantics of non-greedy repetition.
965    
966  @defun posix-search-forward regexp &optional limit noerror repeat  @defun posix-search-forward regexp &optional limit noerror repeat
967  This is like @code{re-search-forward} except that it performs the full  This is like @code{re-search-forward} except that it performs the full
968  backtracking specified by the POSIX standard for regular expression  backtracking specified by the POSIX standard for regular expression

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26