changeset 56439:7cc505680b75

(Regexp Backslash): Document new \_< and \_> operators. From Jim Blandy.
author Luc Teirlinck <teirllm@auburn.edu>
date Fri, 16 Jul 2004 18:37:19 +0000
parents 12c8e3bc7304
children 8afb28d7fe8f
files lispref/searching.texi
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/searching.texi	Fri Jul 16 16:05:28 2004 +0000
+++ b/lispref/searching.texi	Fri Jul 16 18:37:19 2004 +0000
@@ -666,6 +666,19 @@
 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