aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-06-03 20:20:52 +0300
committerEli Zaretskii2018-06-03 20:20:52 +0300
commit16e8541b743a6beb1926fef53cf1bfaed9c346db (patch)
treedb874ce02af1acb157c456153d4d773c7dab67a1
parent9a14b4d1ce84e5e0739572729670b8f10d234097 (diff)
downloademacs-16e8541b743a6beb1926fef53cf1bfaed9c346db.tar.gz
emacs-16e8541b743a6beb1926fef53cf1bfaed9c346db.zip
Update doc string of 'rx'
* lisp/emacs-lisp/rx.el (rx): Update the description of some character classes.
-rw-r--r--lisp/emacs-lisp/rx.el18
1 files 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
976 matches whitespace and graphic characters. 976 matches whitespace and graphic characters.
977 977
978`alphanumeric', `alnum' 978`alphanumeric', `alnum'
979 matches alphabetic characters and digits. (For multibyte characters, 979 matches alphabetic characters and digits. For multibyte characters,
980 it matches according to Unicode character properties.) 980 it matches characters whose Unicode `general-category' property
981 indicates they are alphabetic or decimal number characters.
981 982
982`letter', `alphabetic', `alpha' 983`letter', `alphabetic', `alpha'
983 matches alphabetic characters. (For multibyte characters, 984 matches alphabetic characters. For multibyte characters,
984 it matches according to Unicode character properties.) 985 it matches characters whose Unicode `general-category' property
986 indicates they are alphabetic characters.
985 987
986`ascii' 988`ascii'
987 matches ASCII (unibyte) characters. 989 matches ASCII (unibyte) characters.
@@ -990,10 +992,14 @@ CHAR
990 matches non-ASCII (multibyte) characters. 992 matches non-ASCII (multibyte) characters.
991 993
992`lower', `lower-case' 994`lower', `lower-case'
993 matches anything lower-case. 995 matches anything lower-case, as determined by the current case
996 table. If `case-fold-search' is non-nil, this also matches any
997 upper-case letter.
994 998
995`upper', `upper-case' 999`upper', `upper-case'
996 matches anything upper-case. 1000 matches anything upper-case, as determined by the current case
1001 table. If `case-fold-search' is non-nil, this also matches any
1002 lower-case letter.
997 1003
998`punctuation', `punct' 1004`punctuation', `punct'
999 matches punctuation. (But at present, for multibyte characters, 1005 matches punctuation. (But at present, for multibyte characters,