From: Luc Teirlinck Date: Thu, 7 Oct 2004 22:16:43 +0000 (+0000) Subject: (Regexps): The regexp described in the example is no longer stored in X-Git-Tag: ttn-vms-21-2-B4~4679 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=28fe88fc129ad48101f8ae36f2242d1133c22808;p=emacs.git (Regexps): The regexp described in the example is no longer stored in the variable `sentence-end'. --- diff --git a/man/ChangeLog b/man/ChangeLog index 4741aba76fb..420d6becec9 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -1,3 +1,8 @@ +2004-10-07 Luc Teirlinck + + * search.texi (Regexps): The regexp described in the example is no + longer stored in the variable `sentence-end'. + 2004-10-06 Karl Berry * info.texi (@kbd{1}--@kbd{9}): no space around --, for diff --git a/man/search.texi b/man/search.texi index 58265341c29..2a5d28a3985 100644 --- a/man/search.texi +++ b/man/search.texi @@ -1,5 +1,5 @@ @c This is part of the Emacs manual. -@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 @c Free Software Foundation, Inc. @c See file emacs.texi for copying conditions. @node Search, Fixit, Display, Top @@ -777,13 +777,13 @@ matches any character that does @emph{not} belong to category The constructs that pertain to words and syntax are controlled by the setting of the syntax table (@pxref{Syntax}). - Here is a complicated regexp, stored in @code{sentence-end} and used -by Emacs to recognize the end of a sentence together with any -whitespace that follows. We show its Lisp syntax to distinguish the -spaces from the tab characters. In Lisp syntax, the string constant -begins and ends with a double-quote. @samp{\"} stands for a -double-quote as part of the regexp, @samp{\\} for a backslash as part -of the regexp, @samp{\t} for a tab, and @samp{\n} for a newline. + Here is a complicated regexp. It is a simplified version of the +regexp that Emacs uses, by default, to recognize the end of a sentence +together with any whitespace that follows. We show its Lisp syntax to +distinguish the spaces from the tab characters. In Lisp syntax, the +string constant begins and ends with a double-quote. @samp{\"} stands +for a double-quote as part of the regexp, @samp{\\} for a backslash as +part of the regexp, @samp{\t} for a tab, and @samp{\n} for a newline. @example "[.?!][]\"')]*\\($\\| $\\|\t\\| \\)[ \t\n]*"