'[: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).
This commit is contained in:
Paul Eggert 2015-04-15 23:45:08 -07:00
parent 5161c9ca6a
commit 3074a9fad1
4 changed files with 21 additions and 14 deletions

View file

@ -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,