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: Emacs regexp scan (Sep 29) Date: Sat, 05 Oct 2019 11:16:04 -0400 Message-ID: References: <1697CA97-B2E6-4202-B14D-99DCF93954FD@acm.org> <02405f0d-788f-1b87-0269-b06eb2d67ff8@cs.ucla.edu> <83zhif4nq6.fsf@gnu.org> <83lftz4gd1.fsf@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="14973"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Mattias =?windows-1252?Q?Engdeg=E5rd?= , eggert@cs.ucla.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 05 17:17:16 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iGlo4-0003mN-8L for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2019 17:17:16 +0200 Original-Received: from localhost ([::1]:57306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGlo1-00075I-AT for ged-emacs-devel@m.gmane.org; Sat, 05 Oct 2019 11:17:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGln5-00073d-7F for emacs-devel@gnu.org; Sat, 05 Oct 2019 11:16:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGln4-0007rr-7k for emacs-devel@gnu.org; Sat, 05 Oct 2019 11:16:15 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:34655) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iGln2-0007pu-T0; Sat, 05 Oct 2019 11:16:12 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id AD57D10111A; Sat, 5 Oct 2019 11:16:11 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 233AC100EEF; Sat, 5 Oct 2019 11:16:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1570288566; bh=swX0u9eCGUczz9noVAXjBDvKq01n+H9cQSCQm3354U8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hoAO0sxY8+C5g2uKhagTbz252lhMfN4cw0KX5ZigcY4+1Fmy+cuB1ZQTW9TWAn4pH 9Mvv3jrBK4xjj7inIszCno+Gtc0gwZXBI26GPvOG4CTk+3YmQbytG58mhTNFA0rk/+ OGOqMQJd8cYE8b29cciD/FEvQzhbCm4geKCS1FyHH/+iGMcvR0b+bLtoKS470h44rc YrwOoFWLUhDS4uUssODXqCM8uvXVEw+3vBQXsP7WXPAas+1xnVty376rYrqRXbxAOy XeQlczmfg+OIwPT5RJxKDYH/b0YZtKTXqCwUUPK/YzY2Be+rD7Pff1u3iZjKGPdjbN YCcAW6kWfM7/Q== Original-Received: from pastel (76-10-181-40.dsl.teksavvy.com [76.10.181.40]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D59EB120676; Sat, 5 Oct 2019 11:16:05 -0400 (EDT) In-Reply-To: <83lftz4gd1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Oct 2019 13:49:14 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:240617 Archived-At: > In general, I'd rather we didn't flag valid constructs if we can, as > doing that is an annoyance for programmers. In particular, I find > nothing wrong with "*.^", and I find "\\*.\\^" harder to read. It's more error prone, e.g. if you later concat some prefix to the regexp. Stefan