bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7010: [PATCH] sregex.el: Ease limitation on literal sregexes.


From: Andreas Schwab
Subject: bug#7010: [PATCH] sregex.el: Ease limitation on literal sregexes.
Date: Fri, 10 Sep 2010 19:08:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Breanndán Ó Nualláin <bon@science.uva.nl> writes:

> Currently, the `sregexq' macro accepts only literal sregexes as args. 
> The patch permits it to accept all kinds of macro-generated goodness. 
> A simple example:
>
>           (let ((forms '("abc" "def")))
>             (sregexq `(or ,@forms)))

That's what sregex is for.  The point of the sregexq macro is that it
quotes its argument.

Andreas.

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]