GNU bug report logs - #6985
rx patterns don't compose

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dan.colascione <at> gmail.com>

Date: Sat, 4 Sep 2010 23:37:02 UTC

Severity: wishlist

Tags: fixed, patch

Merged with 36237

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Daniel Colascione <dan.colascione <at> gmail.com>
Cc: 6985 <at> debbugs.gnu.org
Subject: bug#6985: rx patterns don't compose
Date: Sun, 05 Sep 2010 12:45:55 +0200
Daniel Colascione <dan.colascione <at> gmail.com> writes:

> (defconst bar-re (rx-to-string `(* (regexp ,foo-re))))

To avoid the extra group:

(defconst bar-re (rx-to-string `(* (regexp ,foo-re)) t))

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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

Previous Next


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