diff options
| author | Mattias EngdegÄrd | 2019-02-10 10:39:00 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2019-02-10 23:36:42 +0100 |
| commit | c8c6ad2429db961fb9410b25fec44b45da96efa1 (patch) | |
| tree | 00c681e20008d527ed8cb585540ec3ac09ecb8b8 /doc | |
| parent | 459869a528ff02787255391ab90f68195c27b807 (diff) | |
| download | emacs-c8c6ad2429db961fb9410b25fec44b45da96efa1.tar.gz emacs-c8c6ad2429db961fb9410b25fec44b45da96efa1.zip | |
Document that [:cntrl:] does not match DEL (Bug#34391)
* doc/lispref/searching.texi (Character Classes):
* lisp/emacs-lisp/rx.el (rx):
Document that [:cntrl:] excludes DEL.
* test/src/regex-emacs-tests.el (regex-tests-PTESTS-whitelist):
Swap misplaced comments and fix wrong code for DEL.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/searching.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 05fc3282053..cfbd2449b13 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi | |||
| @@ -559,7 +559,7 @@ tabs, and other characters whose Unicode @samp{general-category} | |||
| 559 | property (@pxref{Character Properties}) indicates they are spacing | 559 | property (@pxref{Character Properties}) indicates they are spacing |
| 560 | separators. | 560 | separators. |
| 561 | @item [:cntrl:] | 561 | @item [:cntrl:] |
| 562 | This matches any @acronym{ASCII} control character. | 562 | This matches any character whose code is in the range 0--31. |
| 563 | @item [:digit:] | 563 | @item [:digit:] |
| 564 | This matches @samp{0} through @samp{9}. Thus, @samp{[-+[:digit:]]} | 564 | This matches @samp{0} through @samp{9}. Thus, @samp{[-+[:digit:]]} |
| 565 | matches any digit, as well as @samp{+} and @samp{-}. | 565 | matches any digit, as well as @samp{+} and @samp{-}. |