aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2004-07-16 18:38:38 +0000
committerLuc Teirlinck2004-07-16 18:38:38 +0000
commit9a7e97c6fb5ad76aacf0f75a6b30503f29fddd54 (patch)
tree16c6d87f1c3d915ce92b351dee69ae2984bcda0c
parentaa0e4da88dc6c85dee2ca78cbf1dfdf5f43c557d (diff)
downloademacs-9a7e97c6fb5ad76aacf0f75a6b30503f29fddd54.tar.gz
emacs-9a7e97c6fb5ad76aacf0f75a6b30503f29fddd54.zip
(Regexp Backslash): Document new \_< and \_> operators.
From Jim Blandy.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/searching.texi13
2 files changed, 18 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 2c02841fae7..a8c9c295a83 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
12004-07-16 Jim Blandy <jimb@redhat.com>
2
3 * searching.texi (Regexp Backslash): Document new \_< and \_>
4 operators.
5
12004-07-16 Juanma Barranquero <lektu@terra.es> 62004-07-16 Juanma Barranquero <lektu@terra.es>
2 7
3 * display.texi (Images): Fix Texinfo usage. 8 * 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.
666matches the empty string, but only at the end of a word. @samp{\>} 666matches the empty string, but only at the end of a word. @samp{\>}
667matches at the end of the buffer (or string) only if the contents end 667matches at the end of the buffer (or string) only if the contents end
668with a word-constituent character. 668with a word-constituent character.
669
670@item \_<
671@cindex @samp{\_<} in regexp
672matches the empty string, but only at the beginning of a symbol. A
673symbol is a sequence of one or more word or symbol constituent
674characters. @samp{\_<} matches at the beginning of the buffer (or
675string) only if a symbol-constituent character follows.
676
677@item \_>
678@cindex @samp{\_>} in regexp
679matches the empty string, but only at the end of a symbol. @samp{\_>}
680matches at the end of the buffer (or string) only if the contents end
681with a symbol-constituent character.
669@end table 682@end table
670 683
671@kindex invalid-regexp 684@kindex invalid-regexp