diff options
| author | Philipp Stephani | 2018-01-30 00:05:58 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2018-01-30 00:05:58 +0100 |
| commit | 956807bd1fc2d102714282fdfbb8d2a549dc8e17 (patch) | |
| tree | c25306576de9279270ae717a15173b63e577cb66 | |
| parent | 7d90d2ece041630e0c440a2b0216e43f82729844 (diff) | |
| download | emacs-956807bd1fc2d102714282fdfbb8d2a549dc8e17.tar.gz emacs-956807bd1fc2d102714282fdfbb8d2a549dc8e17.zip | |
* lisp/emacs-lisp/rx.el (rx): Fix the definition of 'blank'.
| -rw-r--r-- | lisp/emacs-lisp/rx.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index 37aa25b556d..c4f6d4f70ea 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el | |||
| @@ -57,7 +57,6 @@ | |||
| 57 | ;; (rx (and line-start (0+ (in "a-z")))) | 57 | ;; (rx (and line-start (0+ (in "a-z")))) |
| 58 | ;; | 58 | ;; |
| 59 | ;; "\n[^ \t]" | 59 | ;; "\n[^ \t]" |
| 60 | ;; (rx (and "\n" (not blank))), or | ||
| 61 | ;; (rx (and "\n" (not (any " \t")))) | 60 | ;; (rx (and "\n" (not (any " \t")))) |
| 62 | ;; | 61 | ;; |
| 63 | ;; "\\*\\*\\* EOOH \\*\\*\\*\n" | 62 | ;; "\\*\\*\\* EOOH \\*\\*\\*\n" |
| @@ -74,9 +73,9 @@ | |||
| 74 | ;; "^content-transfer-encoding:\\(\n?[\t ]\\)*quoted-printable\\(\n?[\t ]\\)*" | 73 | ;; "^content-transfer-encoding:\\(\n?[\t ]\\)*quoted-printable\\(\n?[\t ]\\)*" |
| 75 | ;; (rx (and line-start | 74 | ;; (rx (and line-start |
| 76 | ;; "content-transfer-encoding:" | 75 | ;; "content-transfer-encoding:" |
| 77 | ;; (+ (? ?\n)) blank | 76 | ;; (+ (? ?\n)) (any " \t") |
| 78 | ;; "quoted-printable" | 77 | ;; "quoted-printable" |
| 79 | ;; (+ (? ?\n)) blank)) | 78 | ;; (+ (? ?\n)) (any " \t")) |
| 80 | ;; | 79 | ;; |
| 81 | ;; (concat "^\\(?:" something-else "\\)") | 80 | ;; (concat "^\\(?:" something-else "\\)") |
| 82 | ;; (rx (and line-start (eval something-else))), statically or | 81 | ;; (rx (and line-start (eval something-else))), statically or |
| @@ -962,7 +961,11 @@ CHAR | |||
| 962 | matches 0 through 9, a through f and A through F. | 961 | matches 0 through 9, a through f and A through F. |
| 963 | 962 | ||
| 964 | `blank' | 963 | `blank' |
| 965 | matches space and tab only. | 964 | matches horizontal whitespace, as defined by Annex C of the |
| 965 | Unicode Technical Standard #18. In particular, it matches | ||
| 966 | spaces, tabs, and other characters whose Unicode | ||
| 967 | `general-category' property indicates they are spacing | ||
| 968 | separators. | ||
| 966 | 969 | ||
| 967 | `graphic', `graph' | 970 | `graphic', `graph' |
| 968 | matches graphic characters--everything except whitespace, ASCII | 971 | matches graphic characters--everything except whitespace, ASCII |