[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 956807b: * lisp/emacs-lisp/rx.el (rx): Fix the de
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] emacs-26 956807b: * lisp/emacs-lisp/rx.el (rx): Fix the definition of 'blank'. |
Date: |
Mon, 29 Jan 2018 18:06:34 -0500 (EST) |
branch: emacs-26
commit 956807bd1fc2d102714282fdfbb8d2a549dc8e17
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
* lisp/emacs-lisp/rx.el (rx): Fix the definition of 'blank'.
---
lisp/emacs-lisp/rx.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el
index 37aa25b..c4f6d4f 100644
--- a/lisp/emacs-lisp/rx.el
+++ b/lisp/emacs-lisp/rx.el
@@ -57,7 +57,6 @@
;; (rx (and line-start (0+ (in "a-z"))))
;;
;; "\n[^ \t]"
-;; (rx (and "\n" (not blank))), or
;; (rx (and "\n" (not (any " \t"))))
;;
;; "\\*\\*\\* EOOH \\*\\*\\*\n"
@@ -74,9 +73,9 @@
;; "^content-transfer-encoding:\\(\n?[\t ]\\)*quoted-printable\\(\n?[\t ]\\)*"
;; (rx (and line-start
;; "content-transfer-encoding:"
-;; (+ (? ?\n)) blank
+;; (+ (? ?\n)) (any " \t")
;; "quoted-printable"
-;; (+ (? ?\n)) blank))
+;; (+ (? ?\n)) (any " \t"))
;;
;; (concat "^\\(?:" something-else "\\)")
;; (rx (and line-start (eval something-else))), statically or
@@ -962,7 +961,11 @@ CHAR
matches 0 through 9, a through f and A through F.
`blank'
- matches space and tab only.
+ matches horizontal whitespace, as defined by Annex C of the
+ Unicode Technical Standard #18. In particular, it matches
+ spaces, tabs, and other characters whose Unicode
+ `general-category' property indicates they are spacing
+ separators.
`graphic', `graph'
matches graphic characters--everything except whitespace, ASCII
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 956807b: * lisp/emacs-lisp/rx.el (rx): Fix the definition of 'blank'.,
Philipp Stephani <=