GNU bug report logs - #37849
composable character alternatives in rx

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Mon, 21 Oct 2019 10:25:01 UTC

Severity: normal

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


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

From: Mattias Engdegård <mattiase <at> acm.org>
To: 37849 <at> debbugs.gnu.org
Subject: bug#37849: composable character alternatives in rx 
Date: Sun, 27 Oct 2019 10:17:40 +0100
Expansion inside (not ...) should be uncontroversial; now pushed (cbd439e785).

Character set operators (union, intersection, difference) would be useful. Consider:

(rx-define ident-chars (any "a-zA-Z0-9"))
(rx-define operator-chars (any ?+ ?- ?* ?/ ?< ?> ?=))

There is then currently no way to form the set of characters that excludes both the above sets.






This bug report was last modified 5 years and 161 days ago.

Previous Next


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