[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c2cd27b: Add missing rx symbols `bow' and `eow' to
From: |
Mattias Engdeg�rd |
Subject: |
[Emacs-diffs] master c2cd27b: Add missing rx symbols `bow' and `eow' to documentation |
Date: |
Sun, 20 Oct 2019 14:36:38 -0400 (EDT) |
branch: master
commit c2cd27bceb574b749a3de0629d915cb8afb4378e
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
Add missing rx symbols `bow' and `eow' to documentation
* doc/lispref/searching.texi (Rx Constructs):
* lisp/emacs-lisp/rx.el (rx): Add missing synonyms.
---
doc/lispref/searching.texi | 6 ++++--
lisp/emacs-lisp/rx.el | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index a6c6bf2..5178575 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1425,13 +1425,15 @@ Corresponding string regexp: @samp{\'}
Match at point.@*
Corresponding string regexp: @samp{\=}
-@item @code{word-start}
+@item @code{word-start}, @code{bow}
@cindex @code{word-start} in rx
+@cindex @code{bow} in rx
Match at the beginning of a word.@*
Corresponding string regexp: @samp{\<}
-@item @code{word-end}
+@item @code{word-end}, @code{eow}
@cindex @code{word-end} in rx
+@cindex @code{eow} in rx
Match at the end of a word.@*
Corresponding string regexp: @samp{\>}
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el
index 57d633f..006a393 100644
--- a/lisp/emacs-lisp/rx.el
+++ b/lisp/emacs-lisp/rx.el
@@ -1064,8 +1064,8 @@ Zero-width assertions: these all match the empty string
in specific places.
string-end At the end of the string or buffer.
Alias: buffer-end, eos, eot.
point At point.
- word-start At the beginning of a word.
- word-end At the end of a word.
+ word-start At the beginning of a word. Alias: bow.
+ word-end At the end of a word. Alias: eow.
word-boundary At the beginning or end of a word.
not-word-boundary Not at the beginning or end of a word.
symbol-start At the beginning of a symbol.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master c2cd27b: Add missing rx symbols `bow' and `eow' to documentation,
Mattias Engdeg�rd <=