From 6ccc7fbc5de4e8f6e058c6dd2553a86bb6ef9843 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 19 May 2004 18:50:38 +0000 Subject: [PATCH] Describe the new \_< and \_> operators. --- man/search.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man/search.texi b/man/search.texi index 303074dcf0d..fbc8d24bf23 100644 --- a/man/search.texi +++ b/man/search.texi @@ -724,6 +724,18 @@ determines which characters these are. @xref{Syntax}. @item \W matches any character that is not a word-constituent. +@item \_< +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 only if +a symbol-constituent character follows. + +@item \_> +matches the empty string, but only at the end of a symbol. A symbol +is a sequence of one or more word or symbol constituent characters. +@samp{\_>} matches at the end of the buffer only if the contents end +with a symbol-constituent character. + @item \s@var{c} matches any character whose syntax is @var{c}. Here @var{c} is a character that designates a particular syntax class: thus, @samp{w}