From 9a7e97c6fb5ad76aacf0f75a6b30503f29fddd54 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Fri, 16 Jul 2004 18:38:38 +0000 Subject: [PATCH] (Regexp Backslash): Document new \_< and \_> operators. From Jim Blandy. --- lispref/ChangeLog | 5 +++++ lispref/searching.texi | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 2c02841fae7..a8c9c295a83 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,8 @@ +2004-07-16 Jim Blandy + + * searching.texi (Regexp Backslash): Document new \_< and \_> + operators. + 2004-07-16 Juanma Barranquero * display.texi (Images): Fix Texinfo usage. diff --git a/lispref/searching.texi b/lispref/searching.texi index 4a2703fd640..fd0d0e172a0 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi @@ -666,6 +666,19 @@ word-constituent character follows. matches the empty string, but only at the end of a word. @samp{\>} matches at the end of the buffer (or string) only if the contents end with a word-constituent character. + +@item \_< +@cindex @samp{\_<} in regexp +matches the empty string, but only at the beginning of a symbol. A +symbol is a sequence of one or more word or symbol constituent +characters. @samp{\_<} matches at the beginning of the buffer (or +string) only if a symbol-constituent character follows. + +@item \_> +@cindex @samp{\_>} in regexp +matches the empty string, but only at the end of a symbol. @samp{\_>} +matches at the end of the buffer (or string) only if the contents end +with a symbol-constituent character. @end table @kindex invalid-regexp -- 2.11.4.GIT