From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#37659: rx additions: anychar, unmatchable, unordered-or Date: Thu, 24 Oct 2019 07:24:01 -0700 (PDT) Message-ID: <21a930b7-dd91-4c8a-b282-2e7675061344@default> References: <88571301-3F15-428F-82F9-60A23D817EF8@acm.org> <1A5B8E3D-B147-4B89-BFAE-50DCB0A64D3B@acm.org> <9016eb3d-7d58-5950-862a-13db4c7ff32b@cs.ucla.edu> <235cea28-99cc-44d6-bc20-ccd8c9e31f44@default> <015233FF-2F66-4150-A6B3-A21AB2147CC8@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="199417"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Paul Eggert , 37659@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 24 17:24:41 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNeye-000pKP-2P for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Oct 2019 17:24:40 +0200 Original-Received: from localhost ([::1]:45368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNeyX-0008Co-EK for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Oct 2019 11:24:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38533) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNe2x-0005db-Ac for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2019 10:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNe2w-0000ng-0S for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2019 10:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56137) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNe2v-0000mh-S7 for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2019 10:25:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iNe2v-0006ua-Jy for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2019 10:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2019 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37659 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 37659-submit@debbugs.gnu.org id=B37659.157192706326515 (code B ref 37659); Thu, 24 Oct 2019 14:25:01 +0000 Original-Received: (at 37659) by debbugs.gnu.org; 24 Oct 2019 14:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:36725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNe2I-0006tb-VG for submit@debbugs.gnu.org; Thu, 24 Oct 2019 10:24:23 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:55894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNe2G-0006tN-S9 for 37659@debbugs.gnu.org; Thu, 24 Oct 2019 10:24:21 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9OENgtS192891; Thu, 24 Oct 2019 14:24:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=Ql8dNSo7+w/3CrveLT/y89xIPFgaLy2i+7fv2dORPJc=; b=niJSDWECWZgCvqELsDmsZHu4VOl99dGaxbCKzumWbZphey6n0xoJA3mtI274RnKK6HjZ xRvuIWFQMNMd7Y0AvOFwKKSHNvrqy8LLTLRZGKbI3jBXakMVjTuBkud0qVQ9iuD16lie MN+V2VHALZQATIm4YtjMx4YomHsWiYtxpeA5WxDvmPiaNmLiPTgzoNWkgyBUohqvT1GX dV9H6YFEJ1wvJdy5VrmYmGR0wuz8DDRvuaoZgR9yoTD9TY7/nDxE7WlDJkku9Ewbycou wuoARjlthMQu7QShbZJBtnaj4/iJA+64ehrCmA/NDsnfUHFGx4zvEmv6UQB5+jxY17Tq fQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 2vqswtv4cm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 Oct 2019 14:24:12 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9OEO6Hc043998; Thu, 24 Oct 2019 14:24:11 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 2vu0fpctbv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 24 Oct 2019 14:24:09 +0000 Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9OEO23N005167; Thu, 24 Oct 2019 14:24:03 GMT In-Reply-To: <015233FF-2F66-4150-A6B3-A21AB2147CC8@acm.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9419 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910240135 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9419 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910240135 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170132 Archived-At: > > Is there an identifiable subset of rx features > > (operators, functions, thingies, or whatever > > its composable pieces are called) that map > > (even if not one-to-one) to regexp syntax > > components? >=20 > Almost all of rx maps one-to-one to the string regexp syntax. The rx > docs mention the corresponding string regexps for most forms. >=20 > In addition, rx is self-explaining in the sense that a user curious > about what a particular expression means needs only to evaluate (rx > SOMETHING) to get the translation. (There are external packages for > going in the other direction.) Yes, I knew the last part - rx returns a regexp (which you can examine). My suggestion was really about documenting the correspondence between individual rx components and regexp components. If that's already done, great. Thx.