From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.devel Subject: Re: rx.el sexp regexp syntax Date: Mon, 28 May 2018 18:37:30 +0200 Message-ID: <8736ybpwhh.fsf@gmail.com> References: <87h8mw3yoc.fsf@gmail.com> <20180525155126.GA4096@ACM> <87lgc7hebk.fsf@gmail.com> <87r2lzd375.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1527525377 2995 195.159.176.226 (28 May 2018 16:36:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 28 May 2018 16:36:17 +0000 (UTC) User-Agent: mu4e 1.0; emacs 26.1 Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 18:36:13 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 1fNL80-0000h0-CZ for ged-emacs-devel@m.gmane.org; Mon, 28 May 2018 18:36:12 +0200 Original-Received: from localhost ([::1]:57153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNLA7-0000RT-It for ged-emacs-devel@m.gmane.org; Mon, 28 May 2018 12:38:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNL9O-0000Pz-94 for emacs-devel@gnu.org; Mon, 28 May 2018 12:37:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNL9K-0006t0-9C for emacs-devel@gnu.org; Mon, 28 May 2018 12:37:38 -0400 Original-Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:54929) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNL9K-0006sT-1f for emacs-devel@gnu.org; Mon, 28 May 2018 12:37:34 -0400 Original-Received: by mail-wm0-x236.google.com with SMTP id f6-v6so33543132wmc.4 for ; Mon, 28 May 2018 09:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=LGtGc8CY0DR+iVLM30CGS+OxTsqdOnpTXshhGJpiQRM=; b=UegG/m6TPhqkLgIqO8XWvmCvg3w1NG4ik7xYDOUTf2+NPXahQPN2uSa7AGpcBSt257 /oBlFYWIFfdSogXc+WaP1FRUerGm7B+9PK6fjvnDxvrc9mgg/K70EuUVTyrlC1PzSgH5 54km0/rEwv2xw+WcpIKAGeEjsl+RdAcfKorM5s3sMr8gB9XPqn4aOx8nawivlcU9SXpf xCYz3aCjvmSMVgtEyy8kj8MgPMAdDhkszrO1h3lNdwV98cpsLkZBJNg17UXW1y+u3qAc kmKUpnvbmtLYsKKJkydltW6yMUXdapAtDvegERGOdDsMMV+IWZZipTB4Ga+7A0Fg7mLx yTjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=LGtGc8CY0DR+iVLM30CGS+OxTsqdOnpTXshhGJpiQRM=; b=Du3+EAmFUIdcvhN/ZvtlstSqzpk+oeeaop0TDlY1IQMYy8xa0NyTolesQcR7YaeY3c 8X9Bs1fGzayE1JVj8EIQY3om1EUJTor0Yo9F13nlXUmn8UXaXL23aXlRinK4Z0msC2LP dJdAZEv0BI6aP2KTF3W5+3XhqHlDqNaUUXeZ2QF4fM4iKSxfe8iNJLVSSuQuLb8cHZhH tGiK3hZjperAUltsrc37XK9B6YAeFReyq5Qn5mVyBC9fiilkQ7W5S8ANkEoADYbFQjiU n6oMDJ56ogsr9VQFLkldX/uYcwKNcn8jl27mu0e0l5JF5OYXb2vDtA5yfIKsxucoft9/ sN+w== X-Gm-Message-State: ALKqPwdPC9XlQHHVDBISl4w89nOWqoauNUkh/FTJk9eaISwH9yTEgjGE p6BQy1agCvZBPnKivvCphDFTog== X-Google-Smtp-Source: ADUXVKJmRwEabM2v1Su4ozzigp1IuXUNmUB0dQMx+fC4TJCqi6UvARoeAym1VhuDvXAr2mA+lQv4dA== X-Received: by 2002:a1c:b20d:: with SMTP id b13-v6mr9901266wmf.130.1527525452700; Mon, 28 May 2018 09:37:32 -0700 (PDT) Original-Received: from mimimi (87-89-234-173.abo.bbox.fr. [87.89.234.173]) by smtp.gmail.com with ESMTPSA id h196-v6sm13099704wme.1.2018.05.28.09.37.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 09:37:32 -0700 (PDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::236 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:225777 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: >> brutal regexp, but what I *would* use all day long would be a macro that >> un-escaped backslashes for me. Ideally: > > That'd be a good first step. > A second important step would be to easily embed comments and Elisp code > (mostly references to other Elisp variables). rx.el can do all that (with "eval") if I'm not mistaken. =2D-=20 Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlsMMEoACgkQm9z0l6S7 zH9z6wgAq/aga96kr+ngzctXRI2y81OREOM9hXzrzW5LRTZ1V2QXQsB4MIYyo9X/ PynT2nNEmGc0Wq5I/bM0kR4fyVqQpckzsxIBJlrfXDiU0tFLSFGerqj0ZnnElLDv MIWBXSh6YgfHGbeAn1ZBA0wi9K1WWhsy4rPt0lt3viYdH1EB7DEBk/vh78heDRB+ 7rDvRlYNoo2dNXvIGAydZD7Iv7nvOWBmSStZzl2j8lMmdXO09dOM0Eyna4u8uXUy RyfcoQ3FLZFAgTp9L5NR9cehonx8A9NJ6rs84Lnzno3ZUzw/4OCL01tB7A0Z3LhF 1lTmkJA5ZQr1x+QUMzmReM3mlMQcMQ== =LLxO -----END PGP SIGNATURE----- --=-=-=--