aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias EngdegÄrd2019-10-20 19:51:08 +0200
committerMattias EngdegÄrd2019-10-20 20:28:12 +0200
commitc2cd27bceb574b749a3de0629d915cb8afb4378e (patch)
treeef62f4022080630d527082bf1f8b6254a12e39ca
parentbdeda7262c2ee5096eb281dc684b752957537fe5 (diff)
downloademacs-c2cd27bceb574b749a3de0629d915cb8afb4378e.tar.gz
emacs-c2cd27bceb574b749a3de0629d915cb8afb4378e.zip
Add missing rx symbols `bow' and `eow' to documentation
* doc/lispref/searching.texi (Rx Constructs): * lisp/emacs-lisp/rx.el (rx): Add missing synonyms.
-rw-r--r--doc/lispref/searching.texi6
-rw-r--r--lisp/emacs-lisp/rx.el4
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index a6c6bf2d4a0..5178575a3bb 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1425,13 +1425,15 @@ Corresponding string regexp: @samp{\'}
1425Match at point.@* 1425Match at point.@*
1426Corresponding string regexp: @samp{\=} 1426Corresponding string regexp: @samp{\=}
1427 1427
1428@item @code{word-start} 1428@item @code{word-start}, @code{bow}
1429@cindex @code{word-start} in rx 1429@cindex @code{word-start} in rx
1430@cindex @code{bow} in rx
1430Match at the beginning of a word.@* 1431Match at the beginning of a word.@*
1431Corresponding string regexp: @samp{\<} 1432Corresponding string regexp: @samp{\<}
1432 1433
1433@item @code{word-end} 1434@item @code{word-end}, @code{eow}
1434@cindex @code{word-end} in rx 1435@cindex @code{word-end} in rx
1436@cindex @code{eow} in rx
1435Match at the end of a word.@* 1437Match at the end of a word.@*
1436Corresponding string regexp: @samp{\>} 1438Corresponding string regexp: @samp{\>}
1437 1439
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el
index 57d633f8f0b..006a393921a 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.
1064 string-end At the end of the string or buffer. 1064 string-end At the end of the string or buffer.
1065 Alias: buffer-end, eos, eot. 1065 Alias: buffer-end, eos, eot.
1066 point At point. 1066 point At point.
1067 word-start At the beginning of a word. 1067 word-start At the beginning of a word. Alias: bow.
1068 word-end At the end of a word. 1068 word-end At the end of a word. Alias: eow.
1069 word-boundary At the beginning or end of a word. 1069 word-boundary At the beginning or end of a word.
1070 not-word-boundary Not at the beginning or end of a word. 1070 not-word-boundary Not at the beginning or end of a word.
1071 symbol-start At the beginning of a symbol. 1071 symbol-start At the beginning of a symbol.