X-Loop: help-debbugs@HIDDEN Subject: bug#74065: documentation suggestion for caret Resent-From: Greg Minshall <minshall@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-sed@HIDDEN Resent-Date: Mon, 28 Oct 2024 16:15:01 +0000 Resent-Message-ID: <handler.74065.B.173013206531144 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 74065 X-GNU-PR-Package: sed X-GNU-PR-Keywords: To: 74065 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-sed@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.173013206531144 (code B ref -1); Mon, 28 Oct 2024 16:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2024 16:14:25 +0000 Received: from localhost ([127.0.0.1]:54488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1t5SNt-00086F-2u for submit <at> debbugs.gnu.org; Mon, 28 Oct 2024 12:14:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:33388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <minshall@HIDDEN>) id 1t5SNr-000865-Dd for submit <at> debbugs.gnu.org; Mon, 28 Oct 2024 12:14:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <minshall@HIDDEN>) id 1t5SNG-0007TE-Hg for bug-sed@HIDDEN; Mon, 28 Oct 2024 12:13:46 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.217.159.240] helo=smart-cyhyraeth.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from <minshall@HIDDEN>) id 1t5SNE-0006TA-Oi for bug-sed@HIDDEN; Mon, 28 Oct 2024 12:13:46 -0400 Received: from realistic-brounie.authn-relay.a.mail.umich.edu (ip-10-0-73-217.us-east-2.compute.internal [10.0.73.217]) by smart-cyhyraeth.relay-egress.a.mail.umich.edu with ESMTPS id 671FB832.18583AAA.4B39A457.1362134; Mon, 28 Oct 2024 12:13:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-1; t=1730132018; bh=Ac2SCO0xw0LA0YDyIQ6BJvi4zm98OCZHF1Gg68Sfb2w=; h=From:To:Subject:Date; b=AGMYxMzMgBgFxBEkwrIBogc/0FNSjTVQbFSS1xwutr1XBpKlR0D4F9DVMf1Vr+YHZ 6hpBZceLIxK+Bsh1OxlicA3LSA/f6ZCHqyxWvE6XV6F9f2RHb/GAFgRnXdS/Y66Of4 2+aJybJu15mTiHIsbZAFdGeZrfNLSifYnKOkb59RW1JLFPJDRq8D6XyVqQ1PX7td/n //TalPJpAHLfZkF/b79itm6bu8tWBRmw8CNNCxSyvXsml+fDR3v4kYAJGiwPfjChra Mqmg/Izt79GyPZE29Io8EBYzrpABM6dbowsXFKPM22bMf2B+d4dg8Rq5NR4gsUsvK4 8CUyIIafzsGJQ== Authentication-Results: realistic-brounie.authn-relay.a.mail.umich.edu; iprev=pass policy.iprev=172.221.12.240 (syn-172-221-012-240.res.spectrum.com); auth=pass smtp.auth=minshall Received: from localhost (syn-172-221-012-240.res.spectrum.com [172.221.12.240]) by realistic-brounie.authn-relay.a.mail.umich.edu with ESMTPSA id 671FB831.214B7FF2.2CAC39B2.1953033; Mon, 28 Oct 2024 12:13:37 -0400 From: Greg Minshall <minshall@HIDDEN> X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 29.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Oct 2024 09:13:34 -0700 Message-ID: <730625.1730132014@archlinux> Received-SPF: pass client-ip=18.217.159.240; envelope-from=minshall@HIDDEN; helo=smart-cyhyraeth.relay-egress.a.mail.umich.edu X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) in the info node ---- 5.3 Overview of basic regular expression syntax ---- in the discussion of caret (^), there is this (totally correct, afaik) text: ---- =E2=80=98^=E2=80=99 acts as a special character only at the beginning = of the regular expression or subexpression (that is, after =E2=80=98\(=E2=80= =99 or =E2=80=98\|=E2=80=99). Portable scripts should avoid =E2=80=98^=E2=80=99 at the beginning of a subexpression, though, as POSIX allows implementations that treat =E2=80=98^=E2=80=99 as an ordinary character in that context. ---- on the other hand, POSIX *EREs* allow caret in a subexpression. this isn't mentioned in the info node about EREs (which, as that node treats GNU sed EREs, probably needn't be). would it be worth mentioning it here? ---- =E2=80=98^=E2=80=99 acts as a special character only at the beginning = of the regular expression or subexpression (that is, after =E2=80=98\(=E2=80= =99 or =E2=80=98\|=E2=80=99). Portable scripts should avoid =E2=80=98^=E2=80=99 at the beginning of a subexpression, though, as POSIX allows implementations that treat =E2=80=98^=E2=80=99 as an ordinary character in that context. (Note t= hat POSIX *extended* regular expressions, as well as those of GNU sed, do allow '^' at the beginning of a subexpression.) ---- cheers.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Greg Minshall <minshall@HIDDEN> Subject: bug#74065: Acknowledgement (documentation suggestion for caret) Message-ID: <handler.74065.B.173013206531144.ack <at> debbugs.gnu.org> References: <730625.1730132014@archlinux> X-Gnu-PR-Message: ack 74065 X-Gnu-PR-Package: sed Reply-To: 74065 <at> debbugs.gnu.org Date: Mon, 28 Oct 2024 16:15:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-sed@HIDDEN If you wish to submit further information on this problem, please send it to 74065 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 74065: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74065 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.