summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-06-03 20:20:52 +0300
committerEli Zaretskii <eliz@gnu.org>2018-06-03 20:20:52 +0300
commit16e8541b743a6beb1926fef53cf1bfaed9c346db (patch)
treedb874ce02af1acb157c456153d4d773c7dab67a1 /lisp
parent9a14b4d1ce84e5e0739572729670b8f10d234097 (diff)
downloademacs-16e8541b743a6beb1926fef53cf1bfaed9c346db.tar.gz
emacs-16e8541b743a6beb1926fef53cf1bfaed9c346db.tar.bz2
emacs-16e8541b743a6beb1926fef53cf1bfaed9c346db.zip
Update doc string of 'rx'
* lisp/emacs-lisp/rx.el (rx): Update the description of some character classes.
Diffstat (limited to 'lisp')
-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
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,