From 16e8541b743a6beb1926fef53cf1bfaed9c346db Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 3 Jun 2018 20:20:52 +0300 Subject: [PATCH] Update doc string of 'rx' * lisp/emacs-lisp/rx.el (rx): Update the description of some character classes. --- lisp/emacs-lisp/rx.el | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index 302ee23db6a..30bb129e8f2 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el @@ -976,12 +976,14 @@ CHAR matches whitespace and graphic characters. `alphanumeric', `alnum' - matches alphabetic characters and digits. (For multibyte characters, - it matches according to Unicode character properties.) + matches alphabetic characters and digits. For multibyte characters, + it matches characters whose Unicode `general-category' property + indicates they are alphabetic or decimal number characters. `letter', `alphabetic', `alpha' - matches alphabetic characters. (For multibyte characters, - it matches according to Unicode character properties.) + matches alphabetic characters. For multibyte characters, + it matches characters whose Unicode `general-category' property + indicates they are alphabetic characters. `ascii' matches ASCII (unibyte) characters. @@ -990,10 +992,14 @@ CHAR matches non-ASCII (multibyte) characters. `lower', `lower-case' - matches anything lower-case. + matches anything lower-case, as determined by the current case + table. If `case-fold-search' is non-nil, this also matches any + upper-case letter. `upper', `upper-case' - matches anything upper-case. + matches anything upper-case, as determined by the current case + table. If `case-fold-search' is non-nil, this also matches any + lower-case letter. `punctuation', `punct' matches punctuation. (But at present, for multibyte characters, -- 2.39.5