From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: rx.el sexp regexp syntax Date: Fri, 25 May 2018 17:42:29 -0400 Message-ID: <47cdf30d-1e56-4c72-9c60-2d22982cbc05@gmail.com> References: <87h8mw3yoc.fsf@gmail.com> <20180525155126.GA4096@ACM> <87lgc7hebk.fsf@gmail.com> <87r2lzd375.fsf@ericabrahamsen.net> <87in7bhaff.fsf@gmail.com> <87in7bd0om.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1527284480 2726 195.159.176.226 (25 May 2018 21:41:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 May 2018 21:41:20 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 25 23:41:16 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMKSZ-0000cM-MW for ged-emacs-devel@m.gmane.org; Fri, 25 May 2018 23:41:15 +0200 Original-Received: from localhost ([::1]:46817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMKUf-0002ow-Lw for ged-emacs-devel@m.gmane.org; Fri, 25 May 2018 17:43:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMKTr-0002nq-1A for emacs-devel@gnu.org; Fri, 25 May 2018 17:42:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMKTn-0006wr-V3 for emacs-devel@gnu.org; Fri, 25 May 2018 17:42:35 -0400 Original-Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:37611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMKTn-0006wN-QU for emacs-devel@gnu.org; Fri, 25 May 2018 17:42:31 -0400 Original-Received: by mail-qt0-x22f.google.com with SMTP id q13-v6so8328791qtp.4 for ; Fri, 25 May 2018 14:42:31 -0700 (PDT) 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=8brPvKJAO7rwPYaKweAjnAT9KPeLSIx0Tl5tViJcb24=; b=lcziHyg8cCg1hi7yPhpO7yBHpqQDiqTc9C9f+hllsbBMs3rgj35oH7d6wsgog2CGs7 EMHtq8jDh5HjQjYpnG5GoubhuTMKYe4M4PtCurjzdAbhvzLPJOF5B8g/A5fCptdkK7P8 gQxewOu3SmXZ+TsvfbYlcYJxMyD8qIzv755VhlfCkFkYKWxJTD0WPy6poL63kl3H685W 1mVUdmKPawrEr5CuOWtN+Akgj3sS2AFdrnPj5ymorN+E/VfYOBy+s793JFhoVyy+y3v0 Ow3ErHvSE9GgW+KWw8KWcHBH78FlbptnzvkUjWPgziU8vm6ed5bR4UDe1zxOVaWirums 2G6Q== 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=8brPvKJAO7rwPYaKweAjnAT9KPeLSIx0Tl5tViJcb24=; b=qS0to9SF43CrkXWDYVoP32lWHI8dTcCXltt1U7tiLV7LW9IjDAZ0rPKPtEZZ7Y+V69 mI3+U8AsaSUXkSbMV3nmA6K6acTBuU6YPuIY1/HoEAH3DzMbe9f1mSp0uqq6hEIBa1FJ i47G0rj6k6eTejUPh3sDYFGZ5gmZH103nloF0968yU1kTIzz7g8EBvI7b9Zjs2km+uTZ aw+UDJh6EWdjV5kgK4L/WWUwSCMO7bxzmvgQhX6hGGK6I3JVt2p4m0HnD4jcYrIJhXvi VK+HqLTp+8jEbY6Ev+TRNKdip65wAjR0RF9rEmr5o1bQKXsRgp09EfRk4dtsFmsamfA4 O95Q== X-Gm-Message-State: ALKqPwelsQlS5DvYNNL/2Vqo9WhLO9/XzWoElnsutsjl9Vo9RkzC3QOH wWWHSulaqRIZTRqeIPGnhCIUQ4NY X-Google-Smtp-Source: ADUXVKK/Jt2fL0rn+7UBYsrwc4FknPsHClTSMWOxMq+IhLUftqgTpHW63smnz4MxXH75b4z+tVuj6A== X-Received: by 2002:a0c:d8ab:: with SMTP id q40-v6mr3904803qvj.83.1527284550987; Fri, 25 May 2018 14:42:30 -0700 (PDT) Original-Received: from [18.26.2.123] (26-2-123.dynamic.csail.mit.edu. [18.26.2.123]) by smtp.gmail.com with ESMTPSA id q8-v6sm16770907qtp.2.2018.05.25.14.42.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 14:42:30 -0700 (PDT) In-Reply-To: <87in7bd0om.fsf@ericabrahamsen.net> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22f 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:225729 Archived-At: On 2018-05-25 14:56, Eric Abrahamsen wrote: > A regexp that would make my eyes cross (with > "\\(\\(\\(") could be perfectly comprehensible to someone else. > Personally, I'd use rx with more than two nested layers of > group-capture, but that's only me. Shameless advertisement: https://github.com/cpitclaudel/easy-escape It's like prettify-symbols-mode, for regexps; it shows grouping parentheses in a different color, and hides the backslashes.