From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: rx.el sexp regexp syntax Date: Thu, 31 May 2018 18:18:10 +0200 Message-ID: <87lgbzvlx9.fsf@gmail.com> References: <87h8mw3yoc.fsf@gmail.com> <20180525155126.GA4096@ACM> <87lgc7hebk.fsf@gmail.com> <87r2lzd375.fsf@ericabrahamsen.net> <8736ybpwhh.fsf@gmail.com> <87y3g1a9kv.fsf@gmail.com> <877enjby8h.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527783443 11174 195.159.176.226 (31 May 2018 16:17:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 May 2018 16:17:23 +0000 (UTC) Cc: Stefan Monnier , Drew Adams , emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 31 18:17:18 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 1fOQGM-0002mt-Ls for ged-emacs-devel@m.gmane.org; Thu, 31 May 2018 18:17:18 +0200 Original-Received: from localhost ([::1]:45102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOQIS-0004xM-4b for ged-emacs-devel@m.gmane.org; Thu, 31 May 2018 12:19:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOQHI-0004PH-N4 for emacs-devel@gnu.org; Thu, 31 May 2018 12:18:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOQHF-0005at-GW for emacs-devel@gnu.org; Thu, 31 May 2018 12:18:16 -0400 Original-Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:53436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOQHF-0005aB-8A for emacs-devel@gnu.org; Thu, 31 May 2018 12:18:13 -0400 Original-Received: by mail-wm0-x22e.google.com with SMTP id a67-v6so54831179wmf.3 for ; Thu, 31 May 2018 09:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=ByCA5R/a0YSICgVV/zjS4/ch70bxhHuemZh0ds+QVE8=; b=RWunc04+0IB9tEGrPrXo4Tt+4TK91flMtH0XeN4Ycc9m5hLQyr3DkZmvHAF7dgKSeY f23nmXKJtOix2NCQMnHuI6szcLDvA1ELDKmgzvO9Mm4ChdgwBDLCKBzOZVOxoue+Z0ec Z8QRACgJqfA1Hdw9tqoImxJVYmtVvyi/jvjwr+XXQMDQsKw2YPv8z6icfGBjPcZ6lzfw 7I/0vEDfPlPVpu8CCikV5gAL+NKXqtRgAnicn83bbjReOHUQoSuugVRRD3av4BQ0LgVX GmsXT0SR5gYMe9tQR9xh7fjaODtMsmfGAUcIRO+iBxK893w5QA2uhECz3ZUdiOwcnhE7 TYXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ByCA5R/a0YSICgVV/zjS4/ch70bxhHuemZh0ds+QVE8=; b=WmjXNPV7tw/0XqgFFtLdBL7587CW7DHB4V+V12Y1t8PjZIm0FjNYcyz0p81c97S2qu 6iTdzaK55Tr7/2051DwCnZ1XPwBhuUP0whNUEmLQ/O8Jc0iqjpcAnAo4FNqX5xJZPzqd 9H7ZZlblH8WLT3xx23k6Epk7PSHv2MCn3roM2QbCeluHhQZgk320BrID4K4BSxHGISft o11TIe2Oc0I0ZvZco0rnR5fnZi+jeffLA6+wA9tNFMLN7Rcc0D3ZDxZcxoD8OqA4Y4cB CcH4WwlLzym1pan5yWB62kPBUDJmOZJ22jzzI9d06yaRTuR90TBP9M+z8E2dW4I/M9N1 eirA== X-Gm-Message-State: ALKqPwcRmZ3Ip6WQ558mOBd21qTIzIdGTB9t8E3jYT/L2ePD6i+X5+Z4 ofoIyG8o2BHTrynxQOIcqfbVWVBOai4= X-Google-Smtp-Source: ADUXVKJSFxmvrrlxCK/pHS+XsV13vOEzw1EFB5g/d+DkWzepg6drDLXRJIxLQHHcHgWFrzxGQ9dwJA== X-Received: by 2002:a1c:256:: with SMTP id 83-v6mr388891wmc.41.1527783491839; Thu, 31 May 2018 09:18:11 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id s2-v6sm16430687wrn.75.2018.05.31.09.18.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 09:18:10 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <877enjby8h.fsf@gmail.com> (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vor?= =?utf-8?Q?a=22's?= message of "Thu, 31 May 2018 17:12:30 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22e 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:225861 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > Drew Adams writes: > >> Given such functions, I might use RX and the show-me-the-regexp >> function to create a regexp string, which I'd leave in the code, >> and I might use the show-me-the-RX function when I need to change >> such a string (or think about it). > > +1, FWIW. But are there such functions? rx->regexp obviously exists, but I=CA=BCm not aware of the reverse. Thank you for volunteering! ;-) Robert