emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/searching.texi


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/searching.texi
Date: Thu, 17 Mar 2005 18:28:42 -0500

Index: emacs/lispref/searching.texi
diff -c emacs/lispref/searching.texi:1.56 emacs/lispref/searching.texi:1.57
*** emacs/lispref/searching.texi:1.56   Sun Mar  6 18:23:37 2005
--- emacs/lispref/searching.texi        Thu Mar 17 23:28:42 2005
***************
*** 136,144 ****
  @end group
  @end example
  
! If @var{limit} is address@hidden (it must be a position in the current
! buffer), then it is the upper bound to the search.  The match found must
! not extend after that position.
  
  If @var{noerror} is @code{nil}, then @code{word-search-forward} signals
  an error if the search fails.  If @var{noerror} is @code{t}, then it
--- 136,144 ----
  @end group
  @end example
  
! If @var{limit} is address@hidden, it must be a position in the current
! buffer; it specifies the upper bound to the search.  The match found
! must not extend after that position.
  
  If @var{noerror} is @code{nil}, then @code{word-search-forward} signals
  an error if the search fails.  If @var{noerror} is @code{t}, then it
***************
*** 844,858 ****
  @var{regexp}, and leaves point at the end of the first match found.
  It returns the new value of point.
  
! If @var{limit} is address@hidden (it must be a position in the current
! buffer), then it is the upper bound to the search.  No match extending
! after that position is accepted.
! 
! If @var{repeat} is supplied (it must be a positive number), then the
! search is repeated that many times (each time starting at the end of the
! previous time's match).  If all these successive searches succeed, the
! function succeeds, moving point and returning its new value.  Otherwise
! the function fails.
  
  What happens when the function fails depends on the value of
  @var{noerror}.  If @var{noerror} is @code{nil}, a @code{search-failed}
--- 844,858 ----
  @var{regexp}, and leaves point at the end of the first match found.
  It returns the new value of point.
  
! If @var{limit} is address@hidden, it must be a position in the current
! buffer.  It specifies the upper bound to the search.  No match
! extending after that position is accepted.
! 
! If @var{repeat} is supplied, it must be a positive number; the search
! is repeated that many times; each repetition starts at the end of the
! previous match.  If all these successive searches succeed, the
! function succeeds, moving point and returning its new value.
! Otherwise the function fails.
  
  What happens when the function fails depends on the value of
  @var{noerror}.  If @var{noerror} is @code{nil}, a @code{search-failed}
***************
*** 1004,1013 ****
  @defvar search-spaces-regexp
  If this variable is address@hidden, it should be a regular expression
  that says how to search for whitespace.  In that case, any group of
! spaces within in a regular expression being searched for stands for
! use of this regular expression.  However, spaces inside of constructs
! such as @address@hidden and @samp{*}, @samp{+}, @samp{?} are not
! affected by @code{search-spaces-regexp}.
  @end defvar
  
  @node POSIX Regexps
--- 1004,1017 ----
  @defvar search-spaces-regexp
  If this variable is address@hidden, it should be a regular expression
  that says how to search for whitespace.  In that case, any group of
! spaces in a regular expression being searched for stands for use of
! this regular expression.  However, spaces inside of constructs such as
! @address@hidden and @samp{*}, @samp{+}, @samp{?} are not affected by
! @code{search-spaces-regexp}.
! 
! Since this variable affects all regular expression search and match
! constructs, you should bind it temporarily for as small as possible
! a part of the code.
  @end defvar
  
  @node POSIX Regexps




reply via email to

[Prev in Thread] Current Thread [Next in Thread]