From 3074a9fad1c7c57948521125ee947bfa11ae185b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 15 Apr 2015 23:45:08 -0700 Subject: '[: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). --- lisp/emacs-lisp/rx.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/emacs-lisp') 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, -- cgit v1.2.3