From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [elpa] externals/xr e77aa97: Postfix ops are literal after ^ but not after \(?:^\) Date: Tue, 19 Feb 2019 15:29:17 -0500 Message-ID: References: <20190219201441.31417.54763@vcs0.savannah.gnu.org> <20190219201444.721BF20477@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="5217"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Mattias =?windows-1252?Q?Engdeg=E5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 19 21:30:04 2019 Return-path: Envelope-to: ged-emacs-devel@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 1gwC1j-0001Cp-Qi for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2019 21:30:03 +0100 Original-Received: from localhost ([127.0.0.1]:54637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwC1i-0000OM-S7 for ged-emacs-devel@m.gmane.org; Tue, 19 Feb 2019 15:30:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwC1C-0000Nl-0O for emacs-devel@gnu.org; Tue, 19 Feb 2019 15:29:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwC1A-0005jl-5W for emacs-devel@gnu.org; Tue, 19 Feb 2019 15:29:29 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:44477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwC18-0005j2-6c for emacs-devel@gnu.org; Tue, 19 Feb 2019 15:29:28 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id x1JKTIdu001720; Tue, 19 Feb 2019 15:29:18 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E718264B1B; Tue, 19 Feb 2019 15:29:17 -0500 (EST) In-Reply-To: <20190219201444.721BF20477@vcs0.savannah.gnu.org> ("Mattias =?windows-1252?Q?Engdeg=E5rd=22's?= message of "Tue, 19 Feb 2019 15:14:42 -0500 (EST)") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6486=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6486> : inlines <7019> : streams <1813519> : uri <2798982> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233470 Archived-At: > Postfix ops are literal after ^ but not after \(?:^\) BTW, some of those details of the syntax of regexps are really undesirable. Would it be possible for xr to flag them somehow to try and discourage their use? Of course, even better would be to flag such uses not only in xr but more generally. I'm thinking for example of a regexp that starts with a postfix operator or that backslash-escapes a non-special character. Stefan