/[emacs]/emacs/man/search.texi
ViewVC logotype

Diff of /emacs/man/search.texi

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

revision 1.55 by jurta, Fri Sep 3 20:51:06 2004 UTC revision 1.56 by teirllm, Thu Oct 7 22:12:58 2004 UTC
# Line 1  Line 1 
1  @c This is part of the Emacs manual.  @c This is part of the Emacs manual.
2  @c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000, 2001  @c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000, 2001, 2004
3  @c   Free Software Foundation, Inc.  @c   Free Software Foundation, Inc.
4  @c See file emacs.texi for copying conditions.  @c See file emacs.texi for copying conditions.
5  @node Search, Fixit, Display, Top  @node Search, Fixit, Display, Top
# Line 777  matches any character that does @emph{no Line 777  matches any character that does @emph{no
777    The constructs that pertain to words and syntax are controlled by the    The constructs that pertain to words and syntax are controlled by the
778  setting of the syntax table (@pxref{Syntax}).  setting of the syntax table (@pxref{Syntax}).
779    
780    Here is a complicated regexp, stored in @code{sentence-end} and used    Here is a complicated regexp.  It is a simplified version of the
781  by Emacs to recognize the end of a sentence together with any  regexp that Emacs uses, by default, to recognize the end of a sentence
782  whitespace that follows.  We show its Lisp syntax to distinguish the  together with any whitespace that follows.  We show its Lisp syntax to
783  spaces from the tab characters.  In Lisp syntax, the string constant  distinguish the spaces from the tab characters.  In Lisp syntax, the
784  begins and ends with a double-quote.  @samp{\"} stands for a  string constant begins and ends with a double-quote.  @samp{\"} stands
785  double-quote as part of the regexp, @samp{\\} for a backslash as part  for a double-quote as part of the regexp, @samp{\\} for a backslash as
786  of the regexp, @samp{\t} for a tab, and @samp{\n} for a newline.  part of the regexp, @samp{\t} for a tab, and @samp{\n} for a newline.
787    
788  @example  @example
789  "[.?!][]\"')]*\\($\\| $\\|\t\\|  \\)[ \t\n]*"  "[.?!][]\"')]*\\($\\| $\\|\t\\|  \\)[ \t\n]*"

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

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