GNU bug report logs - #60196
29.0.60; re-builder should read all forms for the rx syntax

Previous Next

Package: emacs;

Reported by: Kai Ma <justksqsf <at> gmail.com>

Date: Mon, 19 Dec 2022 09:03:01 UTC

Severity: wishlist

Merged with 63918

Found in versions 28.2, 29.0.60

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kai Ma <justksqsf <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.60; re-builder should read all forms for the rx syntax
Date: Mon, 19 Dec 2022 17:02:27 +0800
Severity: wishlist

re-builder (rx syntax) currently cannot read multiple forms.  This
results in suboptimal user experience.  For example, even though

    (rx "<i>" (group (*? anychar)) "</i>")

is perfectly fine, but in re-builder, one has to write it as follows:

    '(and "<i>" (group (*? anychar)) "</i>")

Ideally, re-builder should allow users to simply write

    "<i>" (group (*? anychar)) "</i>"

(The relevant function seems to be 'reb-cook-regexp'.)

	Kai




This bug report was last modified 2 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.