summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-04-15 23:45:08 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-04-15 23:47:01 -0700
commit3074a9fad1c7c57948521125ee947bfa11ae185b (patch)
tree9f13c9d28a6e54ea12c7096f0d34652ffce15f6e /lisp/emacs-lisp
parent5161c9ca6a6107da30d411fb2ad72e01d08e5704 (diff)
downloademacs-3074a9fad1c7c57948521125ee947bfa11ae185b.tar.gz
emacs-3074a9fad1c7c57948521125ee947bfa11ae185b.tar.bz2
emacs-3074a9fad1c7c57948521125ee947bfa11ae185b.zip
'[:graph:]' now excludes whitespace, not just ' '
* doc/lispref/searching.texi (Char Classes): * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:] sans whitespace (not sans space). * src/character.c (graphicp): Exclude all Unicode whitespace chars, not just space. * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/rx.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el
index ab9beb60928..520210614f5 100644
--- a/lisp/emacs-lisp/rx.el
+++ b/lisp/emacs-lisp/rx.el
@@ -965,12 +965,12 @@ CHAR
matches space and tab only.
`graphic', `graph'
- matches graphic characters--everything except space, ASCII
+ matches graphic characters--everything except whitespace, ASCII
and non-ASCII control characters, surrogates, and codepoints
unassigned by Unicode.
`printing', `print'
- matches space and graphic characters.
+ matches whitespace and graphic characters.
`alphanumeric', `alnum'
matches alphabetic characters and digits. (For multibyte characters,