diff options
| author | Luc Teirlinck | 2004-10-07 22:16:43 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-10-07 22:16:43 +0000 |
| commit | 28fe88fc129ad48101f8ae36f2242d1133c22808 (patch) | |
| tree | 00643f0f47a3c43476a699ef317cba4087f4cb5d | |
| parent | f94a2622a049a633a20147d4f15664c4f09996bd (diff) | |
| download | emacs-28fe88fc129ad48101f8ae36f2242d1133c22808.tar.gz emacs-28fe88fc129ad48101f8ae36f2242d1133c22808.zip | |
(Regexps): The regexp described in the example is no longer stored in
the variable `sentence-end'.
| -rw-r--r-- | man/ChangeLog | 5 | ||||
| -rw-r--r-- | man/search.texi | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 4741aba76fb..420d6becec9 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-10-07 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * search.texi (Regexps): The regexp described in the example is no | ||
| 4 | longer stored in the variable `sentence-end'. | ||
| 5 | |||
| 1 | 2004-10-06 Karl Berry <karl@gnu.org> | 6 | 2004-10-06 Karl Berry <karl@gnu.org> |
| 2 | 7 | ||
| 3 | * info.texi (@kbd{1}--@kbd{9}): no space around --, for | 8 | * 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 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000, 2001 | 2 | @c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000, 2001, 2004 |
| 3 | @c Free Software Foundation, Inc. | 3 | @c Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @node Search, Fixit, Display, Top | 5 | @node Search, Fixit, Display, Top |
| @@ -777,13 +777,13 @@ matches any character that does @emph{not} belong to category | |||
| 777 | The constructs that pertain to words and syntax are controlled by the | 777 | The constructs that pertain to words and syntax are controlled by the |
| 778 | setting of the syntax table (@pxref{Syntax}). | 778 | setting of the syntax table (@pxref{Syntax}). |
| 779 | 779 | ||
| 780 | Here is a complicated regexp, stored in @code{sentence-end} and used | 780 | 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 | 781 | 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 | 782 | together with any whitespace that follows. We show its Lisp syntax to |
| 783 | spaces from the tab characters. In Lisp syntax, the string constant | 783 | distinguish the spaces from the tab characters. In Lisp syntax, the |
| 784 | begins and ends with a double-quote. @samp{\"} stands for a | 784 | 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 | 785 | 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. | 786 | part of the regexp, @samp{\t} for a tab, and @samp{\n} for a newline. |
| 787 | 787 | ||
| 788 | @example | 788 | @example |
| 789 | "[.?!][]\"')]*\\($\\| $\\|\t\\| \\)[ \t\n]*" | 789 | "[.?!][]\"')]*\\($\\| $\\|\t\\| \\)[ \t\n]*" |