diff options
| author | Mattias EngdegÄrd | 2019-10-20 19:51:08 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2019-10-20 20:28:12 +0200 |
| commit | c2cd27bceb574b749a3de0629d915cb8afb4378e (patch) | |
| tree | ef62f4022080630d527082bf1f8b6254a12e39ca | |
| parent | bdeda7262c2ee5096eb281dc684b752957537fe5 (diff) | |
| download | emacs-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.texi | 6 | ||||
| -rw-r--r-- | 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 a6c6bf2d4a0..5178575a3bb 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -1425,13 +1425,15 @@ Corresponding string regexp: @samp{\'} | |||
| 1425 | Match at point.@* | 1425 | Match at point.@* |
| 1426 | Corresponding string regexp: @samp{\=} | 1426 | Corresponding 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 | ||
| 1430 | Match at the beginning of a word.@* | 1431 | Match at the beginning of a word.@* |
| 1431 | Corresponding string regexp: @samp{\<} | 1432 | Corresponding 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 | ||
| 1435 | Match at the end of a word.@* | 1437 | Match at the end of a word.@* |
| 1436 | Corresponding string regexp: @samp{\>} | 1438 | Corresponding 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. |