all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34391: 26.1; [[:cntrl:]] does not match DEL contrary to documentation
@ 2019-02-08 20:49 Mattias Engdegård
       [not found] ` <handler.34391.B.154965904215015.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Mattias Engdegård @ 2019-02-08 20:49 UTC (permalink / raw)
  To: 34391

Unlike every other regexp engines and POSIX regexps, and contrary to the documentation, [[:cntrl:]] does not match DEL (\177) in Emacs. (It does not match the C1 controls in U+0080..009f either, but at least there is no such claim.)

Assuming that it is not worth breaking existing code by changing the behaviour, let us at least fix the manual which says:

‘[:cntrl:]’
     This matches any ASCII control character.

which is inaccurate. The error also made it into the doc string of `rx'.






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-10 22:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-08 20:49 bug#34391: 26.1; [[:cntrl:]] does not match DEL contrary to documentation Mattias Engdegård
     [not found] ` <handler.34391.B.154965904215015.ack@debbugs.gnu.org>
2019-02-08 21:04   ` bug#34391: Acknowledgement (26.1; [[:cntrl:]] does not match DEL contrary to documentation) Mattias Engdegård
2019-02-08 21:58     ` Eli Zaretskii
2019-02-10  9:56       ` Mattias Engdegård
2019-02-10 15:19         ` Eli Zaretskii
2019-02-10 22:42           ` Mattias Engdegård

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.