aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorMattias EngdegÄrd2019-10-07 18:07:16 +0200
committerMattias EngdegÄrd2019-10-18 14:45:47 +0200
commite5a446b0a706ddd4bedf973baeaf54f105198b09 (patch)
tree64c299b5c279b8acd257c0a964a4d183c68e8315 /doc/lispref
parent2d13a3f68d4724af52e47675bedf60709c7b5171 (diff)
downloademacs-e5a446b0a706ddd4bedf973baeaf54f105198b09.tar.gz
emacs-e5a446b0a706ddd4bedf973baeaf54f105198b09.zip
Add `anychar' as alias to `anything' in rx (bug#37659)
* lisp/emacs-lisp/rx.el (rx--translate-symbol, rx--builtin-symbols, rx): * test/lisp/emacs-lisp/rx-tests.el (rx-atoms): * doc/lispref/searching.texi (Rx Constructs): * etc/NEWS: Add `anychar', an alias for `anything'. Since `anychar' is more descriptive (and slightly shorter), treat it as the preferred name.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/searching.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index a4b65334126..2274bab002c 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1220,7 +1220,8 @@ Corresponding string regexp: @samp{[^@dots{}]}, @samp{\S@var{code}},
1220Match any character except a newline.@* 1220Match any character except a newline.@*
1221Corresponding string regexp: @samp{.} (dot) 1221Corresponding string regexp: @samp{.} (dot)
1222 1222
1223@item @code{anything} 1223@item @code{anychar}, @code{anything}
1224@cindex @code{anychar} in rx
1224@cindex @code{anything} in rx 1225@cindex @code{anything} in rx
1225Match any character.@* 1226Match any character.@*
1226Corresponding string regexp: @samp{.\|\n} (for example) 1227Corresponding string regexp: @samp{.\|\n} (for example)