From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#34391: 26.1; [[:cntrl:]] does not match DEL contrary to documentation Date: Fri, 8 Feb 2019 21:49:56 +0100 Message-ID: <2065B36B-5650-4930-B0C0-70E571A5C58F@acm.org> Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="176640"; mail-complaints-to="usenet@blaine.gmane.org" To: 34391@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 08 21:52:46 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gsD8g-000jqq-87 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 21:52:46 +0100 Original-Received: from localhost ([127.0.0.1]:34462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsD8f-0001IT-6V for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 15:52:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsD7D-0000ZN-A7 for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 15:51:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsD7B-00049u-MI for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 15:51:15 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsD71-0003u3-2p for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 15:51:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsD70-0003ul-OU for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 15:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Feb 2019 20:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34391 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154965904215015 (code B ref -1); Fri, 08 Feb 2019 20:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Feb 2019 20:50:42 +0000 Original-Received: from localhost ([127.0.0.1]:40175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsD6f-0003u7-K8 for submit@debbugs.gnu.org; Fri, 08 Feb 2019 15:50:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsD6b-0003ts-CP for submit@debbugs.gnu.org; Fri, 08 Feb 2019 15:50:38 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:58166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsD6V-0003Me-V1 for submit@debbugs.gnu.org; Fri, 08 Feb 2019 15:50:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsD6V-0008Vs-3u for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 15:50:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsD6R-0003Ep-Io for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 15:50:29 -0500 Original-Received: from mail152c50.megamailservers.eu ([91.136.10.162]:58188 helo=mail50c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsD6E-0002rt-He for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 15:50:19 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1549658998; bh=fibaYrR472ZPN3iS/UW/OlH+XwW6BaKoBkG8vWJguSY=; h=From:Subject:Date:To:From; b=r/LiaBTQviWycKDtAT6sDqlmyF4+peAiFRkX/V+OomJfAF+WirYPp8Dtg7n6a/hwH D1hodVHwjCtYQXm7e/hJXBgWy4rV3EWpBwBWf2cVyoRqkOId9Jjynvgt+dw02h2u4r RplbMVkIh5ODWB34LY347bU335aIvREX7Io6idOs= Feedback-ID: mattiase@acm.or Original-Received: from [192.168.1.64] (c-e636e253.032-75-73746f71.bbcust.telenor.se [83.226.54.230]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id x18KnvNt003525 for ; Fri, 8 Feb 2019 20:49:58 +0000 X-Mailer: Apple Mail (2.3445.102.3) X-CTCH-RefID: str=0001.0A0B020A.5C5DEB76.0070, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=H6v1PdQi c=1 sm=1 tr=0 a=M+GU/qJco4WXjv8D6jB2IA==:117 a=M+GU/qJco4WXjv8D6jB2IA==:17 a=IkcTkHD0fZMA:10 a=HCFdnFmzLN_acL8NolMA:9 a=QEXdDO2ut3YA:10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155273 Archived-At: 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: =E2=80=98[:cntrl:]=E2=80=99 This matches any ASCII control character. which is inaccurate. The error also made it into the doc string of `rx'.