From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: modern regexes in emacs Date: Fri, 15 Feb 2019 13:46:23 -0500 Message-ID: References: <20180616123704.7123f6d7@jabberwock.cb.piermont.com> <87po0qs6re.fsf@gmail.com> <83r2c9m8yj.fsf@gnu.org> <17581DA9-7DCA-432E-A2E8-E5184DFA8B4B@acm.org> <20190215114728.0785e891@jabberwock.cb.piermont.com> <20190215175405.GA5438@ACM> <83lg2gnbky.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="20262"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 15 19:46:43 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 1guiVW-000587-S6 for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2019 19:46:42 +0100 Original-Received: from localhost ([127.0.0.1]:44661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guiVV-00067T-MD for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2019 13:46:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guiVL-00067G-7E for emacs-devel@gnu.org; Fri, 15 Feb 2019 13:46:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guiVK-00078S-6E for emacs-devel@gnu.org; Fri, 15 Feb 2019 13:46:31 -0500 Original-Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:44453) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guiVJ-00076n-7I for emacs-devel@gnu.org; Fri, 15 Feb 2019 13:46:29 -0500 Original-Received: by mail-qt1-x829.google.com with SMTP id n32so11994701qte.11 for ; Fri, 15 Feb 2019 10:46:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=zVZV896KcFUYAW5zOiIHm3CXq845KxyT1/+dCTrCz0M=; b=ZOF2lfBOCVNiHFgaJIOwn2tKF/dpTMc8ZeIZ9BAuWdiiKMuJ1q6ThzmBf3OrRaSOgB PaQf7ds1Or5qmq6ViZhODf1xdYC5Wbk8yj1bNEnA0vFU7G79CKylZmU02PkI+aAtXpZF aAH1HOd9zsDFl/Mb5cN7KEQ3/jju/gn/7xhhwD422peOgo8HjV4TwSTjX0woxYMjjmMK O7zNJXb3+pz3uh9ry/NJMZ1Td32wp1qg0WqtTL2H/kPdVYEN7kmWxXI3AZp65HGjynSv JDksYikXboKXMgt+h6pTNJKnzbEBpwro2lVn20i9fXsWQj61EWYW8/1GX7+eGss/HSQ6 CePQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zVZV896KcFUYAW5zOiIHm3CXq845KxyT1/+dCTrCz0M=; b=fQCxxrqeLgzfOzUMRmlMbTO6+DaJHiuOZ5TuVhiOej4d5GpiHqnfKKOb1QWdE7yBkJ 7zUQnS3OA79kQpUSyXZSXGeZ4XWXwv/x/bcH/Zqa28RgrS3SHQyXEuSTuVeqEkrqSlBy JW4GDqKdWxd8gH9EQgce0pmNTVEdsGL9tyAgW5vwlI+Cg2XfNyOUD+AgxZKzvBz91nom qtDlZiRZoA8Hd98R0yytxpEeffVeuG9wYsbwWO3H6KG3mfHlrnAmLN8pNJJw73dbaxa9 Xw8GbcqhDC8hLpq+EXCFLrUMJ9v1DlawSFIe49tWWGd7RAIJeJXMTbaC+m/KV8zRjou5 v7NQ== X-Gm-Message-State: AHQUAuZHflmnm3s2gkUGMpvVzJEC1eC+lwgKflaqL6Edo1Ow8Z1rFcUn aGt0QBIaGVX2fLWQOPU33yyiuVoc X-Google-Smtp-Source: AHgI3IbJH3QcC6DPkoagXnbOW97KFs/cRx7cj1sWiIdakZoAyOn8Ljukxeor6ws74O+xJf7otD/DDQ== X-Received: by 2002:a0c:9919:: with SMTP id h25mr8428168qvd.26.1550256385154; Fri, 15 Feb 2019 10:46:25 -0800 (PST) Original-Received: from ?IPv6:2601:184:4180:66e7:f0cc:8c46:f643:1be8? ([2601:184:4180:66e7:f0cc:8c46:f643:1be8]) by smtp.googlemail.com with ESMTPSA id 20sm3680741qts.82.2019.02.15.10.46.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Feb 2019 10:46:24 -0800 (PST) In-Reply-To: <83lg2gnbky.fsf@gnu.org> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::829 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:233392 Archived-At: On 15/02/2019 13.36, Eli Zaretskii wrote: > I proposed to have a separate set of functions that will accept PCRE > syntax. That would allow everyone to have what they want: you to use > the "classic" regexps, and those who want PCRE to have that. Where's > the problem with that? I think that solution doesn't let you pass regexps using fancy PCRE features to existing code through defvars and defcustoms. As a concrete example, sometimes assertions would be useful in regexps that define outlines, or in syntax highlighting, or in comment marker definitions. Clément.