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 15:08:52 -0500 Message-ID: <0e2ff0ee-40a6-1d5e-4988-9eba087e7571@gmail.com> 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> <83imxkn82j.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="179608"; 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 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 15 21:09:21 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 1gujnV-000kXV-2Y for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2019 21:09:21 +0100 Original-Received: from localhost ([127.0.0.1]:45602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gujnO-0002zM-O0 for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2019 15:09:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gujnI-0002z6-VS for emacs-devel@gnu.org; Fri, 15 Feb 2019 15:09:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gujnI-0002Nl-8U for emacs-devel@gnu.org; Fri, 15 Feb 2019 15:09:08 -0500 Original-Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:46103) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gujnB-0002DU-Rw; Fri, 15 Feb 2019 15:09:03 -0500 Original-Received: by mail-qt1-x82d.google.com with SMTP id y20so12275243qtm.13; Fri, 15 Feb 2019 12:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xyQ4sPTGygD01of2vrmEinqJIxmC668/ERJr2eXlCzE=; b=MnoMz5Ex0DI/ZCUxB9QEBHqO5GI7egZ+FC76UKWg3ulXLhbb5EwujpHXii3wXLv+zP Kus9m+MUoHh9GvTBwMIFwQaFo2FY9wZSrBaPsGm2N6bODw8tNjArzRt6yZolcybSr37V /A4vGuLx60VnYJXuYZYh4z6uCJznzhPQwg52/PE6snNzNpC+VxkoizWvnzCsQoiZZ5dN tr6BNKaZDP1Gy4rM9PXSJfXNCW/c7S0oLPK8ByEF/Kw/W7z0y+iYcYTeADEkWw0de/W8 RtBrAw0hNlv1oNxT3hvQ+Wem+w/F0IYHuUkyqf/RscYC5RNxR/PL5OmTynOEQ1YR8fki Cjig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xyQ4sPTGygD01of2vrmEinqJIxmC668/ERJr2eXlCzE=; b=T5+EqUAJtY18sDt7KPp1dRZ5CldqO0rugI5xv2b7uDc41opyClQZVSEv/FpoDfnJLi 0G+l/RLzR8HP5RgVnHzqjbildDmugdmpjKlAp3Fuj3RAnjbOCauGINUeCtB9KRaiWpQq /yVxO+8K8NYRdYl9tU1XNMvjf/0lNnasPShgevodOPOpg5HVk3O3zdI3tp3br3hDu0d2 gyoNa5qoy1+LdEuuY4z4VaVdKDAUgTirBlGxmMM8rm5SNEdqiPD1+4tUOn1wL6SZOrdI wTDX7iBAAt/etWRrqc2+pM9vPlhqIfYoveKCy22sShMM3z23b4sv43bER1JuhjhtFvkx uF/w== X-Gm-Message-State: AHQUAub4vahPE2GsCpm1mhrZfFx05Pdnh5glIf9fzjCSIYP6+lflfCTi gEmm5aS5hYlimJUGARi76J+maOrZ X-Google-Smtp-Source: AHgI3IYpUyc+43N0VCLVtk3QzZ44V/z0WEzYNwOSXtgMhe9ZWuGIX+OKfreqWnnLqh6a2HXCQ2jF5g== X-Received: by 2002:a0c:e1c9:: with SMTP id v9mr8993283qvl.186.1550261335429; Fri, 15 Feb 2019 12:08:55 -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 a6sm2430217qkk.5.2019.02.15.12.08.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Feb 2019 12:08:54 -0800 (PST) In-Reply-To: <83imxkn82j.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::82d 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:233398 Archived-At: On 15/02/2019 14.52, Eli Zaretskii wrote: > You cannot seriously propose a global setting that will switch to > PCRE syntax No, not at all. Where did you see a hint of me suggesting that? > as that will cause a lot of breakage. Just to clarify, I'm looking for a solution that would not break anything. Using a flag in the regexp might be one such solution ("\(?pcre:…regexp here…\)"), or it might not. > Suddenly we are talking about using PCRE everywhere? Please hold > your horses. I'm talking about allowing PCRE everywhere, not necessarily using it everywhere. And FWIW, I don't care whether it's PCRE, I just would like to use some of the more advanced features.