'[: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:
parent
5161c9ca6a
commit
3074a9fad1
4 changed files with 21 additions and 14 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue